#211F89#211F89

#211F89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.168 H 273.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#211F89
RGBrgb(33, 31, 137)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 77%, 54%)
CMYKcmyk(75.9%, 77.4%, 0%, 46.3%)
CIE-LABlab(20.47, 37.70, -57.87)
CIE-LCHlch(20.47, 69.06, 303.08°)
OKLaboklab(33.06% 0.0092 -0.1674)
OKLCHoklch(33.06% 0.168 273.1)
XYZxyz(5.6310, 3.1089, 23.9654)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F89 #87891F
analogous
#1F5289 #211F89 #561F89
triadic
#211F89 #89211F #1F8921
tetradic
#211F89 #891F52 #87891F #1F8956
square
#211F89 #891F52 #87891F #1F8956
split-complementary
#211F89 #89561F #52891F
monochromatic
#090825 #151457 #211F89 #2D2ABB #4F4CD6

Accessibility & contrast

On white

12.95
#211F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F89
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F89#FFFFFF#000000##FFFFFF
##211F891.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211f89;
/* rgb */ color: rgb(33, 31, 137);
/* oklch */ color: oklch(33.1% 0.168 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f5cad',
    500: '#211f89',
    950: '#000000',
  },
}
SCSS
$custom: #211f89;
$custom-light: #6f5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#211f89",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 241.132,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.16769,
    "h": 273.1
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#211F89
secondary
#B7B94B
accent
#E642E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211F89

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

Preview Lab → · Contrast checker → · Palette generator →

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