#213356#213356

#213356 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.4% C 0.067 H 262.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#213356
RGBrgb(33, 51, 86)
HSLhsl(220, 45%, 23%)
HSVhsv(220, 62%, 34%)
CMYKcmyk(61.6%, 40.7%, 0%, 66.3%)
CIE-LABlab(21.44, 4.81, -23.42)
CIE-LCHlch(21.44, 23.91, 281.60°)
OKLaboklab(32.43% -0.0086 -0.0663)
OKLCHoklch(32.43% 0.067 262.6)
XYZxyz(3.4902, 3.3626, 9.2674)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213356 #564421
analogous
#214D56 #213356 #292156
triadic
#213356 #562133 #335621
tetradic
#213356 #56214D #564421 #215629
square
#213356 #56214D #564421 #215629
split-complementary
#213356 #562921 #4D5621
monochromatic
#080D16 #10192A #213356 #324D82 #4367AE

Accessibility & contrast

On white

12.56
#213356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213356
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213356#FFFFFF#000000##FFFFFF
##2133561.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253657
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213356;
/* rgb */ color: rgb(33, 51, 86);
/* oklch */ color: oklch(32.4% 0.067 262.6);
Tailwind
colors: {
  custom: {
    50: '#616a86',
    500: '#213356',
    950: '#000000',
  },
}
SCSS
$custom: #213356;
$custom-light: #616a86;
$custom-dark: #000000;
JSON
{
  "hex": "#213356",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 86
  },
  "hsl": {
    "h": 219.623,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32429,
    "c": 0.06689,
    "h": 262.6
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#213356
secondary
#8A7449
accent
#A954D4
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #213356

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

Preview Lab → · Contrast checker → · Palette generator →

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