#212B92#212B92

#212B92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.166 H 270.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#212B92
RGBrgb(33, 43, 146)
HSLhsl(235, 63%, 35%)
HSVhsv(235, 77%, 57%)
CMYKcmyk(77.4%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.08, 33.54, -57.52)
CIE-LCHlch(24.08, 66.58, 300.25°)
OKLaboklab(35.93% 0.0017 -0.1665)
OKLCHoklch(35.93% 0.166 270.6)
XYZxyz(6.6776, 4.1257, 27.6330)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B92 #928821
analogous
#216492 #212B92 #4F2192
triadic
#212B92 #92212B #2B9221
tetradic
#212B92 #922164 #928821 #21924F
square
#212B92 #922164 #928821 #21924F
split-complementary
#212B92 #924F21 #649221
monochromatic
#0A0E2E #161C60 #212B92 #2C3AC4 #5561D9

Accessibility & contrast

On white

11.51
#212B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#212B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B92
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B92#FFFFFF#000000##FFFFFF
##212B921.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #212b92;
/* rgb */ color: rgb(33, 43, 146);
/* oklch */ color: oklch(35.9% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#7065b3',
    500: '#212b92',
    950: '#000000',
  },
}
SCSS
$custom: #212b92;
$custom-light: #7065b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212b92",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 234.69,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35926,
    "c": 0.16648,
    "h": 270.6
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#212B92
secondary
#BCB353
accent
#D842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212B92

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

Preview Lab → · Contrast checker → · Palette generator →

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