#212B90#212B90

#212B90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.164 H 270.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#212B90
RGBrgb(33, 43, 144)
HSLhsl(235, 63%, 35%)
HSVhsv(235, 77%, 56%)
CMYKcmyk(77.1%, 70.1%, 0%, 43.5%)
CIE-LABlab(23.88, 32.81, -56.61)
CIE-LCHlch(23.88, 65.43, 300.10°)
OKLaboklab(35.72% 0.0019 -0.1638)
OKLCHoklch(35.72% 0.164 270.7)
XYZxyz(6.5234, 4.0640, 26.8208)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B90 #908621
analogous
#216290 #212B90 #4F2190
triadic
#212B90 #90212B #2B9021
tetradic
#212B90 #902162 #908621 #21904F
square
#212B90 #902162 #908621 #21904F
split-complementary
#212B90 #904F21 #629021
monochromatic
#0A0D2C #161C5E #212B90 #2C3AC2 #5460D8

Accessibility & contrast

On white

11.58
#212B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#212B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B90
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B90#FFFFFF#000000##FFFFFF
##212B901.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #212b90;
/* rgb */ color: rgb(33, 43, 144);
/* oklch */ color: oklch(35.7% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f65b2',
    500: '#212b90',
    950: '#000000',
  },
}
SCSS
$custom: #212b90;
$custom-light: #6f65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212b90",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 234.595,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.16384,
    "h": 270.7
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#212B90
secondary
#BBB251
accent
#D742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212B90

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

Preview Lab → · Contrast checker → · Palette generator →

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