#211F98#211F98

#211F98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.186 H 271.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#211F98
RGBrgb(33, 31, 152)
HSLhsl(241, 66%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.3%, 79.6%, 0%, 40.4%)
CIE-LABlab(22.19, 42.76, -64.33)
CIE-LCHlch(22.19, 77.25, 303.61°)
OKLaboklab(34.78% 0.006 -0.1862)
OKLCHoklch(34.78% 0.186 271.8)
XYZxyz(6.7828, 3.5696, 30.0312)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F98 #96981F
analogous
#1F5998 #211F98 #5D1F98
triadic
#211F98 #98211F #1F9821
tetradic
#211F98 #981F59 #96981F #1F985D
square
#211F98 #981F59 #96981F #1F985D
split-complementary
#211F98 #985D1F #59981F
monochromatic
#0B0A32 #161565 #211F98 #2C29CB #5755DC

Accessibility & contrast

On white

12.25
#211F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#211F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F98
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F98#FFFFFF#000000##FFFFFF
##211F981.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211f98;
/* rgb */ color: rgb(33, 31, 152);
/* oklch */ color: oklch(34.8% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#735db8',
    500: '#211f98',
    950: '#000000',
  },
}
SCSS
$custom: #211f98;
$custom-light: #735db8;
$custom-dark: #000000;
JSON
{
  "hex": "#211f98",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 240.992,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.18633,
    "h": 271.8
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#211F98
secondary
#BEC053
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F98

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

Preview Lab → · Contrast checker → · Palette generator →

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