#212B93#212B93

#212B93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.168 H 270.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#212B93
RGBrgb(33, 43, 147)
HSLhsl(235, 63%, 35%)
HSVhsv(235, 78%, 58%)
CMYKcmyk(77.6%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.18, 33.91, -57.97)
CIE-LCHlch(24.18, 67.16, 300.33°)
OKLaboklab(36.03% 0.0016 -0.1678)
OKLCHoklch(36.03% 0.168 270.5)
XYZxyz(6.7557, 4.1569, 28.0444)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B93 #938921
analogous
#216493 #212B93 #502193
triadic
#212B93 #93212B #2B9321
tetradic
#212B93 #932164 #938921 #219350
square
#212B93 #932164 #938921 #219350
split-complementary
#212B93 #935021 #649321
monochromatic
#0B0E2F #161C61 #212B93 #2C3AC5 #5561D9

Accessibility & contrast

On white

11.47
#212B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B93
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B93#FFFFFF#000000##FFFFFF
##212B931.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #212b93;
/* rgb */ color: rgb(33, 43, 147);
/* oklch */ color: oklch(36.0% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#212b93',
    950: '#000000',
  },
}
SCSS
$custom: #212b93;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212b93",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 234.737,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.1678,
    "h": 270.5
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#212B93
secondary
#BDB353
accent
#D841E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212B93

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

Preview Lab → · Contrast checker → · Palette generator →

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