#212B70#212B70

#212B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.119 H 271.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#212B70
RGBrgb(33, 43, 112)
HSLhsl(232, 54%, 28%)
HSVhsv(232, 71%, 44%)
CMYKcmyk(70.5%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.91, 20.65, -41.28)
CIE-LCHlch(20.91, 46.16, 296.58°)
OKLaboklab(32.62% 0.0038 -0.1189)
OKLCHoklch(32.62% 0.119 271.8)
XYZxyz(4.4147, 3.2205, 15.7151)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B70 #706621
analogous
#215270 #212B70 #3E2170
triadic
#212B70 #70212B #2B7021
tetradic
#212B70 #702152 #706621 #21703E
square
#212B70 #702152 #706621 #21703E
split-complementary
#212B70 #703E21 #527021
monochromatic
#070918 #131941 #212B70 #2F3D9F #4454C8

Accessibility & contrast

On white

12.77
#212B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B70
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B70#FFFFFF#000000##FFFFFF
##212B701.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212b70;
/* rgb */ color: rgb(33, 43, 112);
/* oklch */ color: oklch(32.6% 0.119 271.8);
Tailwind
colors: {
  custom: {
    50: '#67649a',
    500: '#212b70',
    950: '#000000',
  },
}
SCSS
$custom: #212b70;
$custom-light: #67649a;
$custom-dark: #000000;
JSON
{
  "hex": "#212b70",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 232.405,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32623,
    "c": 0.11897,
    "h": 271.8
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#212B70
secondary
#A49849
accent
#CB4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212B70

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

Preview Lab → · Contrast checker → · Palette generator →

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