#211F9B#211F9B

#211F9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.190 H 271.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#211F9B
RGBrgb(33, 31, 155)
HSLhsl(241, 67%, 36%)
HSVhsv(241, 80%, 61%)
CMYKcmyk(78.7%, 80%, 0%, 39.2%)
CIE-LABlab(22.55, 43.75, -65.60)
CIE-LCHlch(22.55, 78.85, 303.70°)
OKLaboklab(35.12% 0.0053 -0.1899)
OKLCHoklch(35.12% 0.19 271.6)
XYZxyz(7.0316, 3.6691, 31.3416)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F9B #999B1F
analogous
#1F5B9B #211F9B #5F1F9B
triadic
#211F9B #9B211F #1F9B21
tetradic
#211F9B #9B1F5B #999B1F #1F9B5F
square
#211F9B #9B1F5B #999B1F #1F9B5F
split-complementary
#211F9B #9B5F1F #5B9B1F
monochromatic
#0B0B35 #161568 #211F9B #2C29CE #5957DD

Accessibility & contrast

On white

12.11
#211F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#211F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F9B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F9B#FFFFFF#000000##FFFFFF
##211F9B1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211f9b;
/* rgb */ color: rgb(33, 31, 155);
/* oklch */ color: oklch(35.1% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#735dba',
    500: '#211f9b',
    950: '#000000',
  },
}
SCSS
$custom: #211f9b;
$custom-light: #735dba;
$custom-dark: #000000;
JSON
{
  "hex": "#211f9b",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 240.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35124,
    "c": 0.18996,
    "h": 271.6
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#211F9B
secondary
#BFC155
accent
#EA3EE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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