#212D65#212D65

#212D65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.099 H 270.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#212D65
RGBrgb(33, 45, 101)
HSLhsl(229, 51%, 26%)
HSVhsv(229, 67%, 40%)
CMYKcmyk(67.3%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.59, 14.93, -34.65)
CIE-LCHlch(20.59, 37.73, 293.31°)
OKLaboklab(32.11% 0.0013 -0.0994)
OKLCHoklch(32.11% 0.099 270.7)
XYZxyz(3.9138, 3.1394, 12.7091)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D65 #655921
analogous
#214F65 #212D65 #372165
triadic
#212D65 #65212D #2D6521
tetradic
#212D65 #65214F #655921 #216537
square
#212D65 #65214F #655921 #216537
split-complementary
#212D65 #653721 #4F6521
monochromatic
#080A17 #121837 #212D65 #304293 #4057C1

Accessibility & contrast

On white

12.90
#212D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212D65
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D65#FFFFFF#000000##FFFFFF
##212D651.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3567
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212d65;
/* rgb */ color: rgb(33, 45, 101);
/* oklch */ color: oklch(32.1% 0.099 270.7);
Tailwind
colors: {
  custom: {
    50: '#646591',
    500: '#212d65',
    950: '#000000',
  },
}
SCSS
$custom: #212d65;
$custom-light: #646591;
$custom-dark: #000000;
JSON
{
  "hex": "#212d65",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 229.412,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.0994,
    "h": 270.7
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#212D65
secondary
#998B49
accent
#C14EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212D65

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

Preview Lab → · Contrast checker → · Palette generator →

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