#213657#213657

#213657 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.065 H 259.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#213657
RGBrgb(33, 54, 87)
HSLhsl(217, 45%, 24%)
HSVhsv(217, 62%, 34%)
CMYKcmyk(62.1%, 37.9%, 0%, 65.9%)
CIE-LABlab(22.48, 3.09, -22.45)
CIE-LCHlch(22.48, 22.66, 277.83°)
OKLaboklab(33.25% -0.0122 -0.0635)
OKLCHoklch(33.25% 0.065 259.1)
XYZxyz(3.6661, 3.6495, 9.5262)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213657 #574221
analogous
#215157 #213657 #272157
triadic
#213657 #572136 #365721
tetradic
#213657 #572151 #574221 #215727
square
#213657 #572151 #574221 #215727
split-complementary
#213657 #572721 #515721
monochromatic
#080E16 #101A2B #213657 #325283 #436DB0

Accessibility & contrast

On white

12.14
#213657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213657
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213657#FFFFFF#000000##FFFFFF
##2136571.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213657;
/* rgb */ color: rgb(33, 54, 87);
/* oklch */ color: oklch(33.3% 0.065 259.1);
Tailwind
colors: {
  custom: {
    50: '#616c86',
    500: '#213657',
    950: '#000000',
  },
}
SCSS
$custom: #213657;
$custom-light: #616c86;
$custom-dark: #000000;
JSON
{
  "hex": "#213657",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 87
  },
  "hsl": {
    "h": 216.667,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33253,
    "c": 0.06463,
    "h": 259.1
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#213657
secondary
#8B7149
accent
#A253D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #213657

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

Preview Lab → · Contrast checker → · Palette generator →

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