#212D69#212D69

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

Color values

HEX#212D69
RGBrgb(33, 45, 105)
HSLhsl(230, 52%, 27%)
HSVhsv(230, 69%, 41%)
CMYKcmyk(68.6%, 57.1%, 0%, 58.8%)
CIE-LABlab(20.90, 16.50, -36.75)
CIE-LCHlch(20.90, 40.29, 294.17°)
OKLaboklab(32.44% 0.0016 -0.1056)
OKLCHoklch(32.44% 0.106 270.9)
XYZxyz(4.1145, 3.2197, 13.7665)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D69 #695D21
analogous
#215169 #212D69 #392169
triadic
#212D69 #69212D #2D6921
tetradic
#212D69 #692151 #695D21 #216939
square
#212D69 #692151 #695D21 #216939
split-complementary
#212D69 #693921 #516921
monochromatic
#070A17 #12193A #212D69 #304198 #4157C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212D69#FFFFFF#000000##FFFFFF
##212D691.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)
#03366B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212d69;
/* rgb */ color: rgb(33, 45, 105);
/* oklch */ color: oklch(32.4% 0.106 270.9);
Tailwind
colors: {
  custom: {
    50: '#656594',
    500: '#212d69',
    950: '#000000',
  },
}
SCSS
$custom: #212d69;
$custom-light: #656594;
$custom-dark: #000000;
JSON
{
  "hex": "#212d69",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 230,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3244,
    "c": 0.10559,
    "h": 270.9
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#212D69
secondary
#9D8F49
accent
#C44CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212D69

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

Preview Lab → · Contrast checker → · Palette generator →

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