#212990#212990

#212990 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.166 H 271.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#212990
RGBrgb(33, 41, 144)
HSLhsl(236, 63%, 35%)
HSVhsv(236, 77%, 56%)
CMYKcmyk(77.1%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.41, 34.09, -57.38)
CIE-LCHlch(23.41, 66.75, 300.71°)
OKLaboklab(35.38% 0.003 -0.1661)
OKLCHoklch(35.38% 0.166 271)
XYZxyz(6.4525, 3.9221, 26.7971)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212990 #908821
analogous
#216090 #212990 #512190
triadic
#212990 #902129 #299021
tetradic
#212990 #902160 #908821 #219051
square
#212990 #902160 #908821 #219051
split-complementary
#212990 #905121 #609021
monochromatic
#0A0D2C #161B5E #212990 #2C37C2 #545DD8

Accessibility & contrast

On white

11.77
#212990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#212990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212990
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212990#FFFFFF#000000##FFFFFF
##2129901.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #212990;
/* rgb */ color: rgb(33, 41, 144);
/* oklch */ color: oklch(35.4% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f63b2',
    500: '#212990',
    950: '#000000',
  },
}
SCSS
$custom: #212990;
$custom-light: #6f63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212990",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 235.676,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35381,
    "c": 0.16611,
    "h": 271
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#212990
secondary
#BBB451
accent
#DA42E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212990

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

Preview Lab → · Contrast checker → · Palette generator →

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