#211F92#211F92

#211F92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.179 H 272.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#211F92
RGBrgb(33, 31, 146)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 57%)
CMYKcmyk(77.4%, 78.8%, 0%, 42.7%)
CIE-LABlab(21.50, 40.76, -61.78)
CIE-LCHlch(21.50, 74.02, 303.41°)
OKLaboklab(34.08% 0.0073 -0.1788)
OKLCHoklch(34.08% 0.179 272.3)
XYZxyz(6.3037, 3.3780, 27.5083)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F92 #90921F
analogous
#1F5792 #211F92 #5A1F92
triadic
#211F92 #92211F #1F9221
tetradic
#211F92 #921F57 #90921F #1F925A
square
#211F92 #921F57 #90921F #1F925A
split-complementary
#211F92 #925A1F #57921F
monochromatic
#0A0A2D #161460 #211F92 #2C2AC4 #5451DA

Accessibility & contrast

On white

12.53
#211F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#211F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F92
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F92#FFFFFF#000000##FFFFFF
##211F921.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211f92;
/* rgb */ color: rgb(33, 31, 146);
/* oklch */ color: oklch(34.1% 0.179 272.3);
Tailwind
colors: {
  custom: {
    50: '#715db3',
    500: '#211f92',
    950: '#000000',
  },
}
SCSS
$custom: #211f92;
$custom-light: #715db3;
$custom-dark: #000000;
JSON
{
  "hex": "#211f92",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 241.043,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.17897,
    "h": 272.3
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F92

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

Preview Lab → · Contrast checker → · Palette generator →

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