#211F62#211F62

#211F62 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.115 H 277.8°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#211F62
RGBrgb(33, 31, 98)
HSLhsl(242, 52%, 25%)
HSVhsv(242, 68%, 38%)
CMYKcmyk(66.3%, 68.4%, 0%, 61.6%)
CIE-LABlab(16.43, 23.68, -39.44)
CIE-LCHlch(16.43, 46.00, 300.98°)
OKLaboklab(28.94% 0.0155 -0.1136)
OKLCHoklch(28.94% 0.115 277.8)
XYZxyz(3.3211, 2.1849, 11.7996)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F62 #60621F
analogous
#1F3E62 #211F62 #421F62
triadic
#211F62 #62211F #1F6221
tetradic
#211F62 #621F3E #60621F #1F6242
square
#211F62 #621F3E #60621F #1F6242
split-complementary
#211F62 #62421F #3E621F
monochromatic
#080717 #111034 #211F62 #312E90 #403CBF

Accessibility & contrast

On white

14.61
#211F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F62
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F62#FFFFFF#000000##FFFFFF
##211F621.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211f62;
/* rgb */ color: rgb(33, 31, 98);
/* oklch */ color: oklch(28.9% 0.115 277.8);
Tailwind
colors: {
  custom: {
    50: '#655b8f',
    500: '#211f62',
    950: '#000000',
  },
}
SCSS
$custom: #211f62;
$custom-light: #655b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#211f62",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 241.791,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28936,
    "c": 0.11468,
    "h": 277.8
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#211F62
secondary
#949746
accent
#DB4CD7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #211F62

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

Preview Lab → · Contrast checker → · Palette generator →

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