#213459#213459

#213459 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.070 H 262.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#213459
RGBrgb(33, 52, 89)
HSLhsl(220, 46%, 24%)
HSVhsv(220, 63%, 35%)
CMYKcmyk(62.9%, 41.6%, 0%, 65.1%)
CIE-LABlab(21.95, 5.25, -24.61)
CIE-LCHlch(21.95, 25.16, 282.04°)
OKLaboklab(32.88% -0.0091 -0.0698)
OKLCHoklch(32.88% 0.07 262.6)
XYZxyz(3.6577, 3.5003, 9.9321)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213459 #594621
analogous
#215059 #213459 #2A2159
triadic
#213459 #592134 #345921
tetradic
#213459 #592150 #594621 #21592A
square
#213459 #592150 #594621 #21592A
split-complementary
#213459 #592A21 #505921
monochromatic
#080D16 #101A2C #213459 #324E86 #4268B2

Accessibility & contrast

On white

12.35
#213459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213459
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213459#FFFFFF#000000##FFFFFF
##2134591.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375A
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213459;
/* rgb */ color: rgb(33, 52, 89);
/* oklch */ color: oklch(32.9% 0.070 262.6);
Tailwind
colors: {
  custom: {
    50: '#626b88',
    500: '#213459',
    950: '#000000',
  },
}
SCSS
$custom: #213459;
$custom-light: #626b88;
$custom-dark: #000000;
JSON
{
  "hex": "#213459",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 89
  },
  "hsl": {
    "h": 219.643,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.07039,
    "h": 262.6
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#213459
secondary
#8D7649
accent
#A952D6
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #213459

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

Preview Lab → · Contrast checker → · Palette generator →

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