#211F8E#211F8E

#211F8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.174 H 272.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#211F8E
RGBrgb(33, 31, 142)
HSLhsl(241, 64%, 34%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(76.8%, 78.2%, 0%, 44.3%)
CIE-LABlab(21.04, 39.41, -60.06)
CIE-LCHlch(21.04, 71.83, 303.27°)
OKLaboklab(33.63% 0.0081 -0.1738)
OKLCHoklch(33.63% 0.174 272.7)
XYZxyz(5.9980, 3.2557, 25.8982)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F8E #8C8E1F
analogous
#1F558E #211F8E #591F8E
triadic
#211F8E #8E211F #1F8E21
tetradic
#211F8E #8E1F55 #8C8E1F #1F8E59
square
#211F8E #8E1F55 #8C8E1F #1F8E59
split-complementary
#211F8E #8E591F #558E1F
monochromatic
#0A092A #15145C #211F8E #2D2AC0 #514FD9

Accessibility & contrast

On white

12.72
#211F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#211F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F8E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F8E#FFFFFF#000000##FFFFFF
##211F8E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211f8e;
/* rgb */ color: rgb(33, 31, 142);
/* oklch */ color: oklch(33.6% 0.174 272.7);
Tailwind
colors: {
  custom: {
    50: '#705db0',
    500: '#211f8e',
    950: '#000000',
  },
}
SCSS
$custom: #211f8e;
$custom-light: #705db0;
$custom-dark: #000000;
JSON
{
  "hex": "#211f8e",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 241.081,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33626,
    "c": 0.17399,
    "h": 272.7
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#211F8E
secondary
#B9BB4D
accent
#E741E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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