#212E69#212E69

#212E69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.104 H 270.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#212E69
RGBrgb(33, 46, 105)
HSLhsl(229, 52%, 27%)
HSVhsv(229, 69%, 41%)
CMYKcmyk(68.6%, 56.2%, 0%, 58.8%)
CIE-LABlab(21.20, 15.78, -36.28)
CIE-LCHlch(21.20, 39.57, 293.51°)
OKLaboklab(32.66% 0.0006 -0.1042)
OKLCHoklch(32.66% 0.104 270.3)
XYZxyz(4.1531, 3.2969, 13.7794)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E69 #695C21
analogous
#215269 #212E69 #382169
triadic
#212E69 #69212E #2E6921
tetradic
#212E69 #692152 #695C21 #216938
square
#212E69 #692152 #695C21 #216938
split-complementary
#212E69 #693821 #526921
monochromatic
#070A17 #121A3A #212E69 #304298 #4159C3

Accessibility & contrast

On white

12.66
#212E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#212E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E69
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E69#FFFFFF#000000##FFFFFF
##212E691.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212e69;
/* rgb */ color: rgb(33, 46, 105);
/* oklch */ color: oklch(32.7% 0.104 270.3);
Tailwind
colors: {
  custom: {
    50: '#656694',
    500: '#212e69',
    950: '#000000',
  },
}
SCSS
$custom: #212e69;
$custom-light: #656694;
$custom-dark: #000000;
JSON
{
  "hex": "#212e69",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 105
  },
  "hsl": {
    "h": 229.167,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3266,
    "c": 0.10418,
    "h": 270.3
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#212E69
secondary
#9D8E49
accent
#C24CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212E69

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

Preview Lab → · Contrast checker → · Palette generator →

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