#212C92#212C92

#212C92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.165 H 270.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#212C92
RGBrgb(33, 44, 146)
HSLhsl(234, 63%, 35%)
HSVhsv(234, 77%, 57%)
CMYKcmyk(77.4%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.32, 32.90, -57.13)
CIE-LCHlch(24.32, 65.92, 299.94°)
OKLaboklab(36.1% 0.0011 -0.1653)
OKLCHoklch(36.1% 0.165 270.4)
XYZxyz(6.7144, 4.1993, 27.6452)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C92 #928721
analogous
#216592 #212C92 #4E2192
triadic
#212C92 #92212C #2C9221
tetradic
#212C92 #922165 #928721 #21924E
square
#212C92 #922165 #928721 #21924E
split-complementary
#212C92 #924E21 #659221
monochromatic
#0A0E2E #161D60 #212C92 #2C3BC4 #5562D9

Accessibility & contrast

On white

11.41
#212C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#212C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C92
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C92#FFFFFF#000000##FFFFFF
##212C921.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212c92;
/* rgb */ color: rgb(33, 44, 146);
/* oklch */ color: oklch(36.1% 0.165 270.4);
Tailwind
colors: {
  custom: {
    50: '#7065b3',
    500: '#212c92',
    950: '#000000',
  },
}
SCSS
$custom: #212c92;
$custom-light: #7065b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212c92",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 234.159,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.16533,
    "h": 270.4
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#212C92
secondary
#BCB253
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212C92

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

Preview Lab → · Contrast checker → · Palette generator →

#212C92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva