#212B6E#212B6E

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

Color values

HEX#212B6E
RGBrgb(33, 43, 110)
HSLhsl(232, 54%, 28%)
HSVhsv(232, 70%, 43%)
CMYKcmyk(70%, 60.9%, 0%, 56.9%)
CIE-LABlab(20.74, 19.87, -40.26)
CIE-LCHlch(20.74, 44.90, 296.27°)
OKLaboklab(32.44% 0.0038 -0.1159)
OKLCHoklch(32.44% 0.116 271.9)
XYZxyz(4.3046, 3.1765, 15.1351)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B6E #6E6421
analogous
#21516E #212B6E #3D216E
triadic
#212B6E #6E212B #2B6E21
tetradic
#212B6E #6E2151 #6E6421 #216E3D
square
#212B6E #6E2151 #6E6421 #216E3D
split-complementary
#212B6E #6E3D21 #516E21
monochromatic
#070918 #13193F #212B6E #2F3D9D #4354C7

Accessibility & contrast

On white

12.84
#212B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#212B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B6E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B6E#FFFFFF#000000##FFFFFF
##212B6E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212b6e;
/* rgb */ color: rgb(33, 43, 110);
/* oklch */ color: oklch(32.4% 0.116 271.9);
Tailwind
colors: {
  custom: {
    50: '#676498',
    500: '#212b6e',
    950: '#000000',
  },
}
SCSS
$custom: #212b6e;
$custom-light: #676498;
$custom-dark: #000000;
JSON
{
  "hex": "#212b6e",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 232.208,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32444,
    "c": 0.11599,
    "h": 271.9
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#212B6E
secondary
#A29649
accent
#CA4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #212B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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