#211F9D#211F9D

#211F9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.192 H 271.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#211F9D
RGBrgb(33, 31, 157)
HSLhsl(241, 67%, 37%)
HSVhsv(241, 80%, 62%)
CMYKcmyk(79%, 80.3%, 0%, 38.4%)
CIE-LABlab(22.78, 44.41, -66.43)
CIE-LCHlch(22.78, 79.91, 303.76°)
OKLaboklab(35.36% 0.0049 -0.1923)
OKLCHoklch(35.36% 0.192 271.5)
XYZxyz(7.2009, 3.7368, 32.2335)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F9D #9B9D1F
analogous
#1F5C9D #211F9D #601F9D
triadic
#211F9D #9D211F #1F9D21
tetradic
#211F9D #9D1F5C #9B9D1F #1F9D60
square
#211F9D #9D1F5C #9B9D1F #1F9D60
split-complementary
#211F9D #9D601F #5C9D1F
monochromatic
#0C0B37 #16156A #211F9D #2C29D0 #5A58DE

Accessibility & contrast

On white

12.02
#211F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#211F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F9D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F9D#FFFFFF#000000##FFFFFF
##211F9D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211f9d;
/* rgb */ color: rgb(33, 31, 157);
/* oklch */ color: oklch(35.4% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#745ebb',
    500: '#211f9d',
    950: '#000000',
  },
}
SCSS
$custom: #211f9d;
$custom-light: #745ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#211f9d",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 240.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35357,
    "c": 0.19236,
    "h": 271.5
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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