Denim Color

#2243B6 · rgb(34, 67, 182)

Denim is a medium blue color with the hex code #2243B6. It is not a CSS keyword, so use the hex value in code; the closest CSS named color is Dark Slate Blue (#483D8B). In RGB it is made of 13% red, 26% green and 71% blue.

HEX#2243B6
RGBrgb(34, 67, 182)
HSLhsl(227, 69%, 42%)
HSV / HSBhsv(227, 81%, 71%)
CMYKcmyk(81%, 63%, 0%, 29%)
Decimal2245558
Closest CSS nameDark Slate Blue
Luminance7.7%
Closest Tailwindblue-800 (#1E40AF)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 8.25:1 · AAA
Black text · 2.55:1 · fails
#2243B6 on white · 8.25:1
#2243B6 on black · 2.55:1

CSS

.text   { color: #2243B6; }
.bg     { background-color: #2243B6; }
.border { border: 2px solid #2243B6; }
.grad   { background: linear-gradient(135deg, #2243B6, #B59521); }

Other Denim values

Color names are not a standard, so sources give slightly different codes. This page uses the most widely used value.

Tints of Denim

#3856BD · #4E69C5 · #647BCC · #7A8ED3 · #91A1DB · #A7B4E2 · #BDC7E9 · #D3D9F0 · #E9ECF8

Shades of Denim

#1F3CA4 · #1B3692 · #182F7F · #14286D · #11225B · #0E1B49 · #0A1437 · #070D24 · #030712

Color combinations

Complementary

#2243B6 · #B59521

Analogous

#218BB5 · #2243B6 · #4B21B5

Triadic

#2243B6 · #B52141 · #41B521

Split complementary

#2243B6 · #B54B21 · #8BB521

Tetradic

#2243B6 · #B5218B · #B59521 · #21B54B

Colors similar to Denim

Denim: questions & answers

What color is #2243B6?

#2243B6 is a medium blue. In the RGB model it is made of 13% red, 26% green and 71% blue.

Is Denim a CSS color name?

No. Denim is a common color name, not a CSS keyword, so write it as #2243B6 (or rgb(34, 67, 182)) in CSS. The closest CSS keyword is darkslateblue (#483D8B).

Why do sites list different hex codes for Denim?

Color names are not standardized. #2243B6 is the most widely used value; in the XKCD color survey, where people named colors in a large online experiment, Denim came out as #3b638c.

What is Denim in RGB?

rgb(34, 67, 182). In HSL it is hsl(227, 69%, 42%), and in CMYK it is approximately cmyk(81%, 63%, 0%, 29%).

What colors go with Denim?

Its complementary color is #B59521. For a calmer scheme, try the analogous colors #218BB5 and #4B21B5.

Should I use white or black text on Denim?

White text reads better: contrast is 8.25:1 (WCAG AAA).