#212B72#212B72

#212B72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.122 H 271.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#212B72
RGBrgb(33, 43, 114)
HSLhsl(233, 55%, 29%)
HSVhsv(233, 71%, 45%)
CMYKcmyk(71.1%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.08, 21.43, -42.29)
CIE-LCHlch(21.08, 47.41, 296.87°)
OKLaboklab(32.8% 0.0038 -0.1219)
OKLCHoklch(32.8% 0.122 271.8)
XYZxyz(4.5273, 3.2656, 16.3081)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B72 #726821
analogous
#215472 #212B72 #402172
triadic
#212B72 #72212B #2B7221
tetradic
#212B72 #722154 #726821 #217240
square
#212B72 #722154 #726821 #217240
split-complementary
#212B72 #724021 #547221
monochromatic
#070918 #131943 #212B72 #2F3DA1 #4455C9

Accessibility & contrast

On white

12.70
#212B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#212B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B72
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B72#FFFFFF#000000##FFFFFF
##212B721.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212b72;
/* rgb */ color: rgb(33, 43, 114);
/* oklch */ color: oklch(32.8% 0.122 271.8);
Tailwind
colors: {
  custom: {
    50: '#68649b',
    500: '#212b72',
    950: '#000000',
  },
}
SCSS
$custom: #212b72;
$custom-light: #68649b;
$custom-dark: #000000;
JSON
{
  "hex": "#212b72",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 232.593,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32804,
    "c": 0.12193,
    "h": 271.8
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#212B72
secondary
#A59A49
accent
#CC49DE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212B72

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

Preview Lab → · Contrast checker → · Palette generator →

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