#211F56#211F56

#211F56 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.097 H 279.7°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#211F56
RGBrgb(33, 31, 86)
HSLhsl(242, 47%, 23%)
HSVhsv(242, 64%, 34%)
CMYKcmyk(61.6%, 64%, 0%, 66.3%)
CIE-LABlab(15.36, 19.20, -33.18)
CIE-LCHlch(15.36, 38.33, 300.06°)
OKLaboklab(27.81% 0.0163 -0.0952)
OKLCHoklch(27.81% 0.097 279.7)
XYZxyz(2.7964, 1.9750, 9.0362)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F56 #54561F
analogous
#1F3856 #211F56 #3C1F56
triadic
#211F56 #56211F #1F5621
tetradic
#211F56 #561F38 #54561F #1F563C
square
#211F56 #561F38 #54561F #1F563C
split-complementary
#211F56 #563C1F #38561F
monochromatic
#090816 #100F29 #211F56 #322F83 #443FB0

Accessibility & contrast

On white

15.05
#211F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F56
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F56#FFFFFF#000000##FFFFFF
##211F561.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#052C37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211f56;
/* rgb */ color: rgb(33, 31, 86);
/* oklch */ color: oklch(27.8% 0.097 279.7);
Tailwind
colors: {
  custom: {
    50: '#625a86',
    500: '#211f56',
    950: '#000000',
  },
}
SCSS
$custom: #211f56;
$custom-light: #625a86;
$custom-dark: #000000;
JSON
{
  "hex": "#211f56",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 242.182,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27813,
    "c": 0.09659,
    "h": 279.7
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#211F56
secondary
#888B46
accent
#D751D2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #211F56

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

Preview Lab → · Contrast checker → · Palette generator →

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