#211F65#211F65

#211F65 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.2% C 0.119 H 277.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#211F65
RGBrgb(33, 31, 101)
HSLhsl(242, 53%, 26%)
HSVhsv(242, 69%, 40%)
CMYKcmyk(67.3%, 69.3%, 0%, 60.4%)
CIE-LABlab(16.71, 24.80, -40.96)
CIE-LCHlch(16.71, 47.88, 301.19°)
OKLaboklab(29.23% 0.0152 -0.1181)
OKLCHoklch(29.23% 0.119 277.3)
XYZxyz(3.4654, 2.2426, 12.5596)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F65 #63651F
analogous
#1F4065 #211F65 #441F65
triadic
#211F65 #65211F #1F6521
tetradic
#211F65 #651F40 #63651F #1F6544
square
#211F65 #651F40 #63651F #1F6544
split-complementary
#211F65 #65441F #40651F
monochromatic
#080717 #121136 #211F65 #302D94 #403CC3

Accessibility & contrast

On white

14.50
#211F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F65
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F65#FFFFFF#000000##FFFFFF
##211F651.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211f65;
/* rgb */ color: rgb(33, 31, 101);
/* oklch */ color: oklch(29.2% 0.119 277.3);
Tailwind
colors: {
  custom: {
    50: '#665b92',
    500: '#211f65',
    950: '#000000',
  },
}
SCSS
$custom: #211f65;
$custom-light: #665b92;
$custom-dark: #000000;
JSON
{
  "hex": "#211f65",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 241.714,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2923,
    "c": 0.11905,
    "h": 277.3
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#211F65
secondary
#979946
accent
#DC4BD8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #211F65

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

Preview Lab → · Contrast checker → · Palette generator →

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