#212B6D#212B6D

#212B6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.114 H 271.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#212B6D
RGBrgb(33, 43, 109)
HSLhsl(232, 54%, 28%)
HSVhsv(232, 70%, 43%)
CMYKcmyk(69.7%, 60.6%, 0%, 57.3%)
CIE-LABlab(20.65, 19.49, -39.75)
CIE-LCHlch(20.65, 44.27, 296.11°)
OKLaboklab(32.36% 0.0037 -0.1144)
OKLCHoklch(32.36% 0.114 271.9)
XYZxyz(4.2505, 3.1548, 14.8500)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B6D #6D6321
analogous
#21516D #212B6D #3D216D
triadic
#212B6D #6D212B #2B6D21
tetradic
#212B6D #6D2151 #6D6321 #216D3D
square
#212B6D #6D2151 #6D6321 #216D3D
split-complementary
#212B6D #6D3D21 #516D21
monochromatic
#070917 #13183E #212B6D #2F3E9C #4254C6

Accessibility & contrast

On white

12.88
#212B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#212B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B6D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B6D#FFFFFF#000000##FFFFFF
##212B6D1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212b6d;
/* rgb */ color: rgb(33, 43, 109);
/* oklch */ color: oklch(32.4% 0.114 271.9);
Tailwind
colors: {
  custom: {
    50: '#676497',
    500: '#212b6d',
    950: '#000000',
  },
}
SCSS
$custom: #212b6d;
$custom-light: #676497;
$custom-dark: #000000;
JSON
{
  "hex": "#212b6d",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 232.105,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32356,
    "c": 0.11449,
    "h": 271.9
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#212B6D
secondary
#A19549
accent
#CA4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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