#211F5A#211F5A

#211F5A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.103 H 279.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#211F5A
RGBrgb(33, 31, 90)
HSLhsl(242, 49%, 24%)
HSVhsv(242, 66%, 35%)
CMYKcmyk(63.3%, 65.6%, 0%, 64.7%)
CIE-LABlab(15.70, 20.70, -35.30)
CIE-LCHlch(15.70, 40.92, 300.38°)
OKLaboklab(28.18% 0.0161 -0.1015)
OKLCHoklch(28.18% 0.103 279)
XYZxyz(2.9621, 2.0413, 9.9088)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F5A #585A1F
analogous
#1F3A5A #211F5A #3E1F5A
triadic
#211F5A #5A211F #1F5A21
tetradic
#211F5A #5A1F3A #585A1F #1F5A3E
square
#211F5A #5A1F3A #585A1F #1F5A3E
split-complementary
#211F5A #5A3E1F #3A5A1F
monochromatic
#080817 #100F2C #211F5A #322F88 #423EB5

Accessibility & contrast

On white

14.91
#211F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F5A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F5A#FFFFFF#000000##FFFFFF
##211F5A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211f5a;
/* rgb */ color: rgb(33, 31, 90);
/* oklch */ color: oklch(28.2% 0.103 279.0);
Tailwind
colors: {
  custom: {
    50: '#635a89',
    500: '#211f5a',
    950: '#000000',
  },
}
SCSS
$custom: #211f5a;
$custom-light: #635a89;
$custom-dark: #000000;
JSON
{
  "hex": "#211f5a",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 242.034,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.10273,
    "h": 279
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#211F5A
secondary
#8C8F46
accent
#D84FD4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #211F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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