#211F6A#211F6A

#211F6A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.126 H 276.6°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#211F6A
RGBrgb(33, 31, 106)
HSLhsl(242, 55%, 27%)
HSVhsv(242, 71%, 42%)
CMYKcmyk(68.9%, 70.8%, 0%, 58.4%)
CIE-LABlab(17.20, 26.64, -43.44)
CIE-LCHlch(17.20, 50.96, 301.52°)
OKLaboklab(29.73% 0.0146 -0.1254)
OKLCHoklch(29.73% 0.126 276.6)
XYZxyz(3.7179, 2.3436, 13.8893)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F6A #686A1F
analogous
#1F436A #211F6A #471F6A
triadic
#211F6A #6A211F #1F6A21
tetradic
#211F6A #6A1F43 #686A1F #1F6A47
square
#211F6A #6A1F43 #686A1F #1F6A47
split-complementary
#211F6A #6A471F #436A1F
monochromatic
#070718 #12113B #211F6A #302D99 #413DC6

Accessibility & contrast

On white

14.30
#211F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F6A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F6A#FFFFFF#000000##FFFFFF
##211F6A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211f6a;
/* rgb */ color: rgb(33, 31, 106);
/* oklch */ color: oklch(29.7% 0.126 276.6);
Tailwind
colors: {
  custom: {
    50: '#675b95',
    500: '#211f6a',
    950: '#000000',
  },
}
SCSS
$custom: #211f6a;
$custom-light: #675b95;
$custom-dark: #000000;
JSON
{
  "hex": "#211f6a",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 241.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2973,
    "c": 0.12621,
    "h": 276.6
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#211F6A
secondary
#9C9E47
accent
#DE4ADA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #211F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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