#211F90#211F90

#211F90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.176 H 272.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#211F90
RGBrgb(33, 31, 144)
HSLhsl(241, 65%, 34%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(77.1%, 78.5%, 0%, 43.5%)
CIE-LABlab(21.27, 40.09, -60.92)
CIE-LCHlch(21.27, 72.93, 303.34°)
OKLaboklab(33.85% 0.0077 -0.1763)
OKLCHoklch(33.85% 0.176 272.5)
XYZxyz(6.1495, 3.3163, 26.6962)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F90 #8E901F
analogous
#1F5690 #211F90 #5A1F90
triadic
#211F90 #90211F #1F9021
tetradic
#211F90 #901F56 #8E901F #1F905A
square
#211F90 #901F56 #8E901F #1F905A
split-complementary
#211F90 #905A1F #56901F
monochromatic
#0A092B #15145E #211F90 #2D2AC2 #5250D9

Accessibility & contrast

On white

12.62
#211F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#211F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F90
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F90#FFFFFF#000000##FFFFFF
##211F901.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211f90;
/* rgb */ color: rgb(33, 31, 144);
/* oklch */ color: oklch(33.9% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#705db2',
    500: '#211f90',
    950: '#000000',
  },
}
SCSS
$custom: #211f90;
$custom-light: #705db2;
$custom-dark: #000000;
JSON
{
  "hex": "#211f90",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 241.062,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.17649,
    "h": 272.5
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#211F90
secondary
#BABC4E
accent
#E840E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F90

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

Preview Lab → · Contrast checker → · Palette generator →

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