#211D7E#211D7E

#211D7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 274.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#211D7E
RGBrgb(33, 29, 126)
HSLhsl(242, 63%, 30%)
HSVhsv(242, 77%, 49%)
CMYKcmyk(73.8%, 77%, 0%, 50.6%)
CIE-LABlab(18.83, 35.07, -53.64)
CIE-LCHlch(18.83, 64.08, 303.18°)
OKLaboklab(31.54% 0.0124 -0.1551)
OKLCHoklch(31.54% 0.156 274.6)
XYZxyz(4.8312, 2.7080, 20.0027)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D7E #7A7E1D
analogous
#1D497E #211D7E #511D7E
triadic
#211D7E #7E211D #1D7E21
tetradic
#211D7E #7E1D49 #7A7E1D #1D7E51
square
#211D7E #7E1D49 #7A7E1D #1D7E51
split-complementary
#211D7E #7E511D #497E1D
monochromatic
#07061B #14124C #211D7E #2E28B0 #4842D3

Accessibility & contrast

On white

13.62
#211D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D7E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D7E#FFFFFF#000000##FFFFFF
##211D7E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211d7e;
/* rgb */ color: rgb(33, 29, 126);
/* oklch */ color: oklch(31.5% 0.156 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#211d7e',
    950: '#000000',
  },
}
SCSS
$custom: #211d7e;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#211d7e",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 242.474,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31535,
    "c": 0.15561,
    "h": 274.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#211D7E
secondary
#ADB145
accent
#E642DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211D7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#211D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva