#212B85#212B85

#212B85 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.149 H 271.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#212B85
RGBrgb(33, 43, 133)
HSLhsl(234, 60%, 33%)
HSVhsv(234, 75%, 52%)
CMYKcmyk(75.2%, 67.7%, 0%, 47.8%)
CIE-LABlab(22.81, 28.71, -51.52)
CIE-LCHlch(22.81, 58.98, 299.13°)
OKLaboklab(34.61% 0.0029 -0.1489)
OKLCHoklch(34.61% 0.149 271.1)
XYZxyz(5.7233, 3.7440, 22.6068)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B85 #857B21
analogous
#215D85 #212B85 #492185
triadic
#212B85 #85212B #2B8521
tetradic
#212B85 #85215D #857B21 #218549
square
#212B85 #85215D #857B21 #218549
split-complementary
#212B85 #854921 #5D8521
monochromatic
#090B23 #151B54 #212B85 #2D3BB6 #4D5BD3

Accessibility & contrast

On white

12.01
#212B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#212B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B85
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B85#FFFFFF#000000##FFFFFF
##212B851.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #212b85;
/* rgb */ color: rgb(33, 43, 133);
/* oklch */ color: oklch(34.6% 0.149 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c64a9',
    500: '#212b85',
    950: '#000000',
  },
}
SCSS
$custom: #212b85;
$custom-light: #6c64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#212b85",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 234,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34611,
    "c": 0.14898,
    "h": 271.1
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#212B85
secondary
#B6AB4C
accent
#D344E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #212B85

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

Preview Lab → · Contrast checker → · Palette generator →

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