#212690#212690

#212690 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.169 H 271.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#212690
RGBrgb(33, 38, 144)
HSLhsl(237, 63%, 35%)
HSVhsv(237, 77%, 56%)
CMYKcmyk(77.1%, 73.6%, 0%, 43.5%)
CIE-LABlab(22.73, 35.96, -58.50)
CIE-LCHlch(22.73, 68.67, 301.58°)
OKLaboklab(34.89% 0.0045 -0.1693)
OKLCHoklch(34.89% 0.169 271.5)
XYZxyz(6.3527, 3.7225, 26.7639)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212690 #908B21
analogous
#215E90 #212690 #532190
triadic
#212690 #902126 #269021
tetradic
#212690 #90215E #908B21 #219053
square
#212690 #90215E #908B21 #219053
split-complementary
#212690 #905321 #5E9021
monochromatic
#0A0C2C #16195E #212690 #2C33C2 #545AD8

Accessibility & contrast

On white

12.04
#212690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#212690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212690
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212690#FFFFFF#000000##FFFFFF
##2126901.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #212690;
/* rgb */ color: rgb(33, 38, 144);
/* oklch */ color: oklch(34.9% 0.169 271.5);
Tailwind
colors: {
  custom: {
    50: '#7061b2',
    500: '#212690',
    950: '#000000',
  },
}
SCSS
$custom: #212690;
$custom-light: #7061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212690",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 237.297,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.1694,
    "h": 271.5
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#212690
secondary
#BBB751
accent
#DE42E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212690

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

Preview Lab → · Contrast checker → · Palette generator →

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