#211F4E#211F4E

#211F4E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.084 H 281.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#211F4E
RGBrgb(33, 31, 78)
HSLhsl(243, 43%, 21%)
HSVhsv(243, 60%, 31%)
CMYKcmyk(57.7%, 60.3%, 0%, 69.4%)
CIE-LABlab(14.70, 16.22, -28.81)
CIE-LCHlch(14.70, 33.06, 299.38°)
OKLaboklab(27.12% 0.0162 -0.0824)
OKLCHoklch(27.12% 0.084 281.1)
XYZxyz(2.4919, 1.8532, 7.4326)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F4E #4C4E1F
analogous
#1F354E #211F4E #391F4E
triadic
#211F4E #4E211F #1F4E21
tetradic
#211F4E #4E1F35 #4C4E1F #1F4E39
square
#211F4E #4E1F35 #4C4E1F #1F4E39
split-complementary
#211F4E #4E391F #354E1F
monochromatic
#090916 #0E0E22 #211F4E #34307A #4642A6

Accessibility & contrast

On white

15.32
#211F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F4E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F4E#FFFFFF#000000##FFFFFF
##211F4E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042750
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#0E2A33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211f4e;
/* rgb */ color: rgb(33, 31, 78);
/* oklch */ color: oklch(27.1% 0.084 281.1);
Tailwind
colors: {
  custom: {
    50: '#615a80',
    500: '#211f4e',
    950: '#000000',
  },
}
SCSS
$custom: #211f4e;
$custom-light: #615a80;
$custom-dark: #000000;
JSON
{
  "hex": "#211f4e",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 242.553,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27116,
    "c": 0.08395,
    "h": 281.1
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#211F4E
secondary
#808346
accent
#D355CE
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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