#211D4E#211D4E

#211D4E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.087 H 282.4°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#211D4E
RGBrgb(33, 29, 78)
HSLhsl(245, 46%, 21%)
HSVhsv(245, 63%, 31%)
CMYKcmyk(57.7%, 62.8%, 0%, 69.4%)
CIE-LABlab(14.13, 17.66, -29.73)
CIE-LCHlch(14.13, 34.58, 300.71°)
OKLaboklab(26.69% 0.0188 -0.0851)
OKLCHoklch(26.69% 0.087 282.4)
XYZxyz(2.4413, 1.7520, 7.4158)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D4E #4A4E1D
analogous
#1D314E #211D4E #391D4E
triadic
#211D4E #4E211D #1D4E21
tetradic
#211D4E #4E1D31 #4A4E1D #1D4E39
square
#211D4E #4E1D31 #4A4E1D #1D4E39
split-complementary
#211D4E #4E391D #314E1D
monochromatic
#090816 #0E0C21 #211D4E #342E7B #473EA7

Accessibility & contrast

On white

15.55
#211D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#211D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D4E
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D4E#FFFFFF#000000##FFFFFF
##211D4E1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#0E2832
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211d4e;
/* rgb */ color: rgb(33, 29, 78);
/* oklch */ color: oklch(26.7% 0.087 282.4);
Tailwind
colors: {
  custom: {
    50: '#615980',
    500: '#211d4e',
    950: '#000000',
  },
}
SCSS
$custom: #211d4e;
$custom-light: #615980;
$custom-dark: #000000;
JSON
{
  "hex": "#211d4e",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 244.898,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26694,
    "c": 0.08713,
    "h": 282.4
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#211D4E
secondary
#7E8344
accent
#D552CB
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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