#211F9E#211F9E

#211F9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.194 H 271.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#211F9E
RGBrgb(33, 31, 158)
HSLhsl(241, 67%, 37%)
HSVhsv(241, 80%, 62%)
CMYKcmyk(79.1%, 80.4%, 0%, 38%)
CIE-LABlab(22.90, 44.73, -66.85)
CIE-LCHlch(22.90, 80.43, 303.79°)
OKLaboklab(35.47% 0.0047 -0.1935)
OKLCHoklch(35.47% 0.194 271.4)
XYZxyz(7.2867, 3.7711, 32.6850)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F9E #9C9E1F
analogous
#1F5D9E #211F9E #611F9E
triadic
#211F9E #9E211F #1F9E21
tetradic
#211F9E #9E1F5D #9C9E1F #1F9E61
square
#211F9E #9E1F5D #9C9E1F #1F9E61
split-complementary
#211F9E #9E611F #5D9E1F
monochromatic
#0C0B38 #16156B #211F9E #2C29D1 #5B59DE

Accessibility & contrast

On white

11.97
#211F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F9E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F9E#FFFFFF#000000##FFFFFF
##211F9E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #211f9e;
/* rgb */ color: rgb(33, 31, 158);
/* oklch */ color: oklch(35.5% 0.194 271.4);
Tailwind
colors: {
  custom: {
    50: '#745ebc',
    500: '#211f9e',
    950: '#000000',
  },
}
SCSS
$custom: #211f9e;
$custom-light: #745ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#211f9e",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 240.945,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35474,
    "c": 0.19357,
    "h": 271.4
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#211F9E
secondary
#C1C256
accent
#EA3EE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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