#212E4E#212E4E

#212E4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.061 H 266.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#212E4E
RGBrgb(33, 46, 78)
HSLhsl(223, 41%, 22%)
HSVhsv(223, 58%, 31%)
CMYKcmyk(57.7%, 41%, 0%, 69.4%)
CIE-LABlab(19.34, 5.32, -21.40)
CIE-LCHlch(19.34, 22.05, 283.97°)
OKLaboklab(30.64% -0.004 -0.0605)
OKLCHoklch(30.64% 0.061 266.2)
XYZxyz(2.9789, 2.8272, 7.5950)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E4E #4E4121
analogous
#21454E #212E4E #2B214E
triadic
#212E4E #4E212E #2E4E21
tetradic
#212E4E #4E2145 #4E4121 #214E2B
square
#212E4E #4E2145 #4E4121 #214E2B
split-complementary
#212E4E #4E2B21 #454E21
monochromatic
#090D16 #0F1523 #212E4E #334779 #4561A4

Accessibility & contrast

On white

13.42
#212E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#212E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E4E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E4E#FFFFFF#000000##FFFFFF
##212E4E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#0B353A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212e4e;
/* rgb */ color: rgb(33, 46, 78);
/* oklch */ color: oklch(30.6% 0.061 266.2);
Tailwind
colors: {
  custom: {
    50: '#606680',
    500: '#212e4e',
    950: '#000000',
  },
}
SCSS
$custom: #212e4e;
$custom-light: #606680;
$custom-dark: #000000;
JSON
{
  "hex": "#212e4e",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 222.667,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30644,
    "c": 0.06062,
    "h": 266.2
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#212E4E
secondary
#827249
accent
#AD57D0
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #212E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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