#213558#213558

#213558 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.067 H 260.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#213558
RGBrgb(33, 53, 88)
HSLhsl(218, 45%, 24%)
HSVhsv(218, 63%, 35%)
CMYKcmyk(62.5%, 39.8%, 0%, 65.5%)
CIE-LABlab(22.21, 4.17, -23.53)
CIE-LCHlch(22.21, 23.90, 280.04°)
OKLaboklab(33.06% -0.0106 -0.0666)
OKLCHoklch(33.06% 0.067 260.9)
XYZxyz(3.6611, 3.5738, 9.7275)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213558 #584421
analogous
#215058 #213558 #282158
triadic
#213558 #582135 #355821
tetradic
#213558 #582150 #584421 #215828
square
#213558 #582150 #584421 #215828
split-complementary
#213558 #582821 #505821
monochromatic
#080D16 #101A2B #213558 #325085 #426BB1

Accessibility & contrast

On white

12.25
#213558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213558
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213558#FFFFFF#000000##FFFFFF
##2135581.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263859
Deuteranopia (green-blind)
#1F3357
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213558;
/* rgb */ color: rgb(33, 53, 88);
/* oklch */ color: oklch(33.1% 0.067 260.9);
Tailwind
colors: {
  custom: {
    50: '#616b87',
    500: '#213558',
    950: '#000000',
  },
}
SCSS
$custom: #213558;
$custom-light: #616b87;
$custom-dark: #000000;
JSON
{
  "hex": "#213558",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 88
  },
  "hsl": {
    "h": 218.182,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.06748,
    "h": 260.9
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#213558
secondary
#8C7449
accent
#A653D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #213558

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

Preview Lab → · Contrast checker → · Palette generator →

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