#212C69#212C69

#212C69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.107 H 271.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#212C69
RGBrgb(33, 44, 105)
HSLhsl(231, 52%, 27%)
HSVhsv(231, 69%, 41%)
CMYKcmyk(68.6%, 58.1%, 0%, 58.8%)
CIE-LABlab(20.61, 17.21, -37.22)
CIE-LCHlch(20.61, 41.01, 294.81°)
OKLaboklab(32.22% 0.0026 -0.107)
OKLCHoklch(32.22% 0.107 271.4)
XYZxyz(4.0768, 3.1443, 13.7539)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C69 #695E21
analogous
#215069 #212C69 #3A2169
triadic
#212C69 #69212C #2C6921
tetradic
#212C69 #692150 #695E21 #21693A
square
#212C69 #692150 #695E21 #21693A
split-complementary
#212C69 #693A21 #506921
monochromatic
#070A17 #12183A #212C69 #304098 #4155C3

Accessibility & contrast

On white

12.89
#212C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212C69
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C69#FFFFFF#000000##FFFFFF
##212C691.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212c69;
/* rgb */ color: rgb(33, 44, 105);
/* oklch */ color: oklch(32.2% 0.107 271.4);
Tailwind
colors: {
  custom: {
    50: '#656494',
    500: '#212c69',
    950: '#000000',
  },
}
SCSS
$custom: #212c69;
$custom-light: #656494;
$custom-dark: #000000;
JSON
{
  "hex": "#212c69",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 230.833,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.10701,
    "h": 271.4
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#212C69
secondary
#9D9049
accent
#C64CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212C69

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

Preview Lab → · Contrast checker → · Palette generator →

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