#211F66#211F66

#211F66 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.120 H 277.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#211F66
RGBrgb(33, 31, 102)
HSLhsl(242, 53%, 26%)
HSVhsv(242, 70%, 40%)
CMYKcmyk(67.6%, 69.6%, 0%, 60%)
CIE-LABlab(16.81, 25.17, -41.46)
CIE-LCHlch(16.81, 48.50, 301.26°)
OKLaboklab(29.33% 0.0151 -0.1195)
OKLCHoklch(29.33% 0.12 277.2)
XYZxyz(3.5147, 2.2623, 12.8193)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F66 #64661F
analogous
#1F4066 #211F66 #441F66
triadic
#211F66 #66211F #1F6621
tetradic
#211F66 #661F40 #64661F #1F6644
square
#211F66 #661F40 #64661F #1F6644
split-complementary
#211F66 #66441F #40661F
monochromatic
#080717 #121137 #211F66 #302D95 #403CC4

Accessibility & contrast

On white

14.46
#211F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F66
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F66#FFFFFF#000000##FFFFFF
##211F661.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211f66;
/* rgb */ color: rgb(33, 31, 102);
/* oklch */ color: oklch(29.3% 0.120 277.2);
Tailwind
colors: {
  custom: {
    50: '#665b92',
    500: '#211f66',
    950: '#000000',
  },
}
SCSS
$custom: #211f66;
$custom-light: #665b92;
$custom-dark: #000000;
JSON
{
  "hex": "#211f66",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 241.69,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.12049,
    "h": 277.2
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#211F66
secondary
#989A46
accent
#DD4BD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #211F66

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

Preview Lab → · Contrast checker → · Palette generator →

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