#212D67#212D67

#212D67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.103 H 270.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#212D67
RGBrgb(33, 45, 103)
HSLhsl(230, 51%, 27%)
HSVhsv(230, 68%, 40%)
CMYKcmyk(68%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.75, 15.71, -35.71)
CIE-LCHlch(20.75, 39.01, 293.75°)
OKLaboklab(32.27% 0.0014 -0.1025)
OKLCHoklch(32.27% 0.103 270.8)
XYZxyz(4.0129, 3.1790, 13.2315)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D67 #675B21
analogous
#215067 #212D67 #382167
triadic
#212D67 #67212D #2D6721
tetradic
#212D67 #672150 #675B21 #216738
square
#212D67 #672150 #675B21 #216738
split-complementary
#212D67 #673821 #506721
monochromatic
#070A17 #121939 #212D67 #304195 #4057C2

Accessibility & contrast

On white

12.84
#212D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212D67
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D67#FFFFFF#000000##FFFFFF
##212D671.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212d67;
/* rgb */ color: rgb(33, 45, 103);
/* oklch */ color: oklch(32.3% 0.103 270.8);
Tailwind
colors: {
  custom: {
    50: '#656593',
    500: '#212d67',
    950: '#000000',
  },
}
SCSS
$custom: #212d67;
$custom-light: #656593;
$custom-dark: #000000;
JSON
{
  "hex": "#212d67",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 229.714,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32273,
    "c": 0.10251,
    "h": 270.8
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#212D67
secondary
#9B8D49
accent
#C34DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212D67

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

Preview Lab → · Contrast checker → · Palette generator →

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