#213656#213656

#213656 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.063 H 258.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#213656
RGBrgb(33, 54, 86)
HSLhsl(216, 45%, 23%)
HSVhsv(216, 62%, 34%)
CMYKcmyk(61.6%, 37.2%, 0%, 66.3%)
CIE-LABlab(22.42, 2.71, -21.88)
CIE-LCHlch(22.42, 22.04, 277.05°)
OKLaboklab(33.19% -0.0125 -0.0618)
OKLCHoklch(33.19% 0.063 258.6)
XYZxyz(3.6255, 3.6333, 9.3125)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213656 #564121
analogous
#215056 #213656 #262156
triadic
#213656 #562136 #365621
tetradic
#213656 #562150 #564121 #215626
square
#213656 #562150 #564121 #215626
split-complementary
#213656 #562621 #505621
monochromatic
#080E16 #101A2A #213656 #325282 #436EAE

Accessibility & contrast

On white

12.16
#213656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#213656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213656
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213656#FFFFFF#000000##FFFFFF
##2136561.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293857
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213656;
/* rgb */ color: rgb(33, 54, 86);
/* oklch */ color: oklch(33.2% 0.063 258.6);
Tailwind
colors: {
  custom: {
    50: '#616c86',
    500: '#213656',
    950: '#000000',
  },
}
SCSS
$custom: #213656;
$custom-light: #616c86;
$custom-dark: #000000;
JSON
{
  "hex": "#213656",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 86
  },
  "hsl": {
    "h": 216.226,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33189,
    "c": 0.06306,
    "h": 258.6
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#213656
secondary
#8A7049
accent
#A154D4
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #213656

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

Preview Lab → · Contrast checker → · Palette generator →

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