#212A69#212A69

#212A69 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.110 H 272.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#212A69
RGBrgb(33, 42, 105)
HSLhsl(233, 52%, 27%)
HSVhsv(233, 69%, 41%)
CMYKcmyk(68.6%, 60%, 0%, 58.8%)
CIE-LABlab(20.04, 18.64, -38.16)
CIE-LCHlch(20.04, 42.46, 296.03°)
OKLaboklab(31.79% 0.0046 -0.1097)
OKLCHoklch(31.79% 0.11 272.4)
XYZxyz(4.0041, 2.9988, 13.7297)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A69 #696021
analogous
#214E69 #212A69 #3C2169
triadic
#212A69 #69212A #2A6921
tetradic
#212A69 #69214E #696021 #21693C
square
#212A69 #69214E #696021 #21693C
split-complementary
#212A69 #693C21 #4E6921
monochromatic
#070917 #12173A #212A69 #303D98 #4151C3

Accessibility & contrast

On white

13.13
#212A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#212A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212A69
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A69#FFFFFF#000000##FFFFFF
##212A691.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212a69;
/* rgb */ color: rgb(33, 42, 105);
/* oklch */ color: oklch(31.8% 0.110 272.4);
Tailwind
colors: {
  custom: {
    50: '#666394',
    500: '#212a69',
    950: '#000000',
  },
}
SCSS
$custom: #212a69;
$custom-light: #666394;
$custom-dark: #000000;
JSON
{
  "hex": "#212a69",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 232.5,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31793,
    "c": 0.10984,
    "h": 272.4
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#212A69
secondary
#9D9249
accent
#CA4CDC
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212A69

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

Preview Lab → · Contrast checker → · Palette generator →

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