#212E67#212E67

#212E67 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.101 H 270.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#212E67
RGBrgb(33, 46, 103)
HSLhsl(229, 51%, 27%)
HSVhsv(229, 68%, 40%)
CMYKcmyk(68%, 55.3%, 0%, 59.6%)
CIE-LABlab(21.04, 15.00, -35.23)
CIE-LCHlch(21.04, 38.29, 293.06°)
OKLaboklab(32.5% 0.0004 -0.1011)
OKLCHoklch(32.5% 0.101 270.2)
XYZxyz(4.0515, 3.2562, 13.2443)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E67 #675A21
analogous
#215167 #212E67 #372167
triadic
#212E67 #67212E #2E6721
tetradic
#212E67 #672151 #675A21 #216737
square
#212E67 #672151 #675A21 #216737
split-complementary
#212E67 #673721 #516721
monochromatic
#070A17 #121939 #212E67 #304395 #4059C2

Accessibility & contrast

On white

12.72
#212E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#212E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E67
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E67#FFFFFF#000000##FFFFFF
##212E671.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212e67;
/* rgb */ color: rgb(33, 46, 103);
/* oklch */ color: oklch(32.5% 0.101 270.2);
Tailwind
colors: {
  custom: {
    50: '#656693',
    500: '#212e67',
    950: '#000000',
  },
}
SCSS
$custom: #212e67;
$custom-light: #656693;
$custom-dark: #000000;
JSON
{
  "hex": "#212e67",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 228.857,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.10108,
    "h": 270.2
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#212E67
secondary
#9B8C49
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #212E67

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

Preview Lab → · Contrast checker → · Palette generator →

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