#213458#213458

#213458 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.8% C 0.069 H 262.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#213458
RGBrgb(33, 52, 88)
HSLhsl(219, 45%, 24%)
HSVhsv(219, 63%, 35%)
CMYKcmyk(62.5%, 40.9%, 0%, 65.5%)
CIE-LABlab(21.89, 4.87, -24.04)
CIE-LCHlch(21.89, 24.53, 281.44°)
OKLaboklab(32.81% -0.0093 -0.0681)
OKLCHoklch(32.81% 0.069 262.2)
XYZxyz(3.6160, 3.4836, 9.7125)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213458 #584521
analogous
#214F58 #213458 #292158
triadic
#213458 #582134 #345821
tetradic
#213458 #58214F #584521 #215829
square
#213458 #58214F #584521 #215829
split-complementary
#213458 #582921 #4F5821
monochromatic
#080D16 #101A2B #213458 #324E85 #4269B1

Accessibility & contrast

On white

12.38
#213458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213458
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213458#FFFFFF#000000##FFFFFF
##2134581.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253759
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213458;
/* rgb */ color: rgb(33, 52, 88);
/* oklch */ color: oklch(32.8% 0.069 262.2);
Tailwind
colors: {
  custom: {
    50: '#616b87',
    500: '#213458',
    950: '#000000',
  },
}
SCSS
$custom: #213458;
$custom-light: #616b87;
$custom-dark: #000000;
JSON
{
  "hex": "#213458",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 88
  },
  "hsl": {
    "h": 219.273,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.06879,
    "h": 262.2
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#213458
secondary
#8C7549
accent
#A853D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #213458

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

Preview Lab → · Contrast checker → · Palette generator →

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