#212992#212992

#212992 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.169 H 270.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#212992
RGBrgb(33, 41, 146)
HSLhsl(236, 63%, 35%)
HSVhsv(236, 77%, 57%)
CMYKcmyk(77.4%, 71.9%, 0%, 42.7%)
CIE-LABlab(23.62, 34.82, -58.28)
CIE-LCHlch(23.62, 67.89, 300.85°)
OKLaboklab(35.59% 0.0027 -0.1687)
OKLCHoklch(35.59% 0.169 270.9)
XYZxyz(6.6067, 3.9838, 27.6093)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212992 #928A21
analogous
#216292 #212992 #512192
triadic
#212992 #922129 #299221
tetradic
#212992 #922162 #928A21 #219251
square
#212992 #922162 #928A21 #219251
split-complementary
#212992 #925121 #629221
monochromatic
#0A0D2E #161B60 #212992 #2C37C4 #555ED9

Accessibility & contrast

On white

11.69
#212992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#212992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212992
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212992#FFFFFF#000000##FFFFFF
##2129921.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #212992;
/* rgb */ color: rgb(33, 41, 146);
/* oklch */ color: oklch(35.6% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#7063b3',
    500: '#212992',
    950: '#000000',
  },
}
SCSS
$custom: #212992;
$custom-light: #7063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212992",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 235.752,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35591,
    "c": 0.16873,
    "h": 270.9
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#212992
secondary
#BCB553
accent
#DB42E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212992

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

Preview Lab → · Contrast checker → · Palette generator →

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