#212088#212088

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

Color values

HEX#212088
RGBrgb(33, 32, 136)
HSLhsl(241, 62%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(75.7%, 76.5%, 0%, 46.7%)
CIE-LABlab(20.57, 36.77, -57.08)
CIE-LCHlch(20.57, 67.90, 302.79°)
OKLaboklab(33.09% 0.0089 -0.1652)
OKLCHoklch(33.09% 0.165 273.1)
XYZxyz(5.5862, 3.1334, 23.5982)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212088 #878820
analogous
#205388 #212088 #552088
triadic
#212088 #882120 #208821
tetradic
#212088 #882053 #878820 #208855
square
#212088 #882053 #878820 #208855
split-complementary
#212088 #885520 #538820
monochromatic
#090925 #151456 #212088 #2D2CBA #4F4DD5

Accessibility & contrast

On white

12.91
#212088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#212088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212088
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212088#FFFFFF#000000##FFFFFF
##2120881.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212088;
/* rgb */ color: rgb(33, 32, 136);
/* oklch */ color: oklch(33.1% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e5dac',
    500: '#212088',
    950: '#000000',
  },
}
SCSS
$custom: #212088;
$custom-light: #6e5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#212088",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 240.577,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.16541,
    "h": 273.1
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#212088
secondary
#B7B84C
accent
#E543E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212088

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

Preview Lab → · Contrast checker → · Palette generator →

#212088 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva