#212B80#212B80

#212B80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.142 H 271.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#212B80
RGBrgb(33, 43, 128)
HSLhsl(234, 59%, 32%)
HSVhsv(234, 74%, 50%)
CMYKcmyk(74.2%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.33, 26.81, -49.15)
CIE-LCHlch(22.33, 55.99, 298.62°)
OKLaboklab(34.12% 0.0033 -0.142)
OKLCHoklch(34.12% 0.142 271.3)
XYZxyz(5.3860, 3.6091, 20.8307)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B80 #807621
analogous
#215B80 #212B80 #472180
triadic
#212B80 #80212B #2B8021
tetradic
#212B80 #80215B #807621 #218047
square
#212B80 #80215B #807621 #218047
split-complementary
#212B80 #804721 #5B8021
monochromatic
#080A1F #141B4F #212B80 #2E3BB1 #4B59D1

Accessibility & contrast

On white

12.20
#212B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#212B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B80
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B80#FFFFFF#000000##FFFFFF
##212B801.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #212b80;
/* rgb */ color: rgb(33, 43, 128);
/* oklch */ color: oklch(34.1% 0.142 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b64a6',
    500: '#212b80',
    950: '#000000',
  },
}
SCSS
$custom: #212b80;
$custom-light: #6b64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#212b80",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 233.684,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.14205,
    "h": 271.3
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#212B80
secondary
#B3A84A
accent
#D246E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #212B80

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

Preview Lab → · Contrast checker → · Palette generator →

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