#213451#213451

#213451 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.4% C 0.058 H 258.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#213451
RGBrgb(33, 52, 81)
HSLhsl(216, 42%, 22%)
HSVhsv(216, 59%, 32%)
CMYKcmyk(59.3%, 35.8%, 0%, 68.2%)
CIE-LABlab(21.48, 2.22, -20.04)
CIE-LCHlch(21.48, 20.16, 276.32°)
OKLaboklab(32.37% -0.0114 -0.0565)
OKLCHoklch(32.37% 0.058 258.6)
XYZxyz(3.3399, 3.3731, 8.2581)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213451 #513E21
analogous
#214C51 #213451 #262151
triadic
#213451 #512134 #345121
tetradic
#213451 #51214C #513E21 #215126
square
#213451 #51214C #513E21 #215126
split-complementary
#213451 #512621 #4C5121
monochromatic
#090E16 #0F1826 #213451 #33507C #446CA8

Accessibility & contrast

On white

12.54
#213451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213451
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213451#FFFFFF#000000##FFFFFF
##2134511.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283652
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#063A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213451;
/* rgb */ color: rgb(33, 52, 81);
/* oklch */ color: oklch(32.4% 0.058 258.6);
Tailwind
colors: {
  custom: {
    50: '#606b82',
    500: '#213451',
    950: '#000000',
  },
}
SCSS
$custom: #213451;
$custom-light: #606b82;
$custom-dark: #000000;
JSON
{
  "hex": "#213451",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 216.25,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.05761,
    "h": 258.6
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#213451
secondary
#856D49
accent
#A156D2
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #213451

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

Preview Lab → · Contrast checker → · Palette generator →

#213451 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva