#211F95#211F95

#211F95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.183 H 272.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#211F95
RGBrgb(33, 31, 149)
HSLhsl(241, 66%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(77.9%, 79.2%, 0%, 41.6%)
CIE-LABlab(21.84, 41.77, -63.06)
CIE-LCHlch(21.84, 75.64, 303.52°)
OKLaboklab(34.43% 0.0066 -0.1825)
OKLCHoklch(34.43% 0.183 272.1)
XYZxyz(6.5402, 3.4725, 28.7535)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F95 #93951F
analogous
#1F5895 #211F95 #5C1F95
triadic
#211F95 #95211F #1F9521
tetradic
#211F95 #951F58 #93951F #1F955C
square
#211F95 #951F58 #93951F #1F955C
split-complementary
#211F95 #955C1F #58951F
monochromatic
#0B0A30 #161462 #211F95 #2C2AC8 #5553DB

Accessibility & contrast

On white

12.39
#211F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#211F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F95
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F95#FFFFFF#000000##FFFFFF
##211F951.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211f95;
/* rgb */ color: rgb(33, 31, 149);
/* oklch */ color: oklch(34.4% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#725db5',
    500: '#211f95',
    950: '#000000',
  },
}
SCSS
$custom: #211f95;
$custom-light: #725db5;
$custom-dark: #000000;
JSON
{
  "hex": "#211f95",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 241.017,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.18266,
    "h": 272.1
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F95

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

Preview Lab → · Contrast checker → · Palette generator →

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