#213A60#213A60

#213A60 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.8% C 0.074 H 258.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#213A60
RGBrgb(33, 58, 96)
HSLhsl(216, 49%, 25%)
HSVhsv(216, 66%, 38%)
CMYKcmyk(65.6%, 39.6%, 0%, 62.4%)
CIE-LABlab(24.30, 3.77, -25.46)
CIE-LCHlch(24.30, 25.74, 278.41°)
OKLaboklab(34.84% -0.0146 -0.0722)
OKLCHoklch(34.84% 0.074 258.5)
XYZxyz(4.2508, 4.1936, 11.6495)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A60 #604721
analogous
#215960 #213A60 #272160
triadic
#213A60 #60213A #3A6021
tetradic
#213A60 #602159 #604721 #216027
square
#213A60 #602159 #604721 #216027
split-complementary
#213A60 #602721 #596021
monochromatic
#080E17 #111E32 #213A60 #31568E #4071BB

Accessibility & contrast

On white

11.42
#213A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#213A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A60
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A60#FFFFFF#000000##FFFFFF
##213A601.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D62
Deuteranopia (green-blind)
#21375F
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213a60;
/* rgb */ color: rgb(33, 58, 96);
/* oklch */ color: oklch(34.8% 0.074 258.5);
Tailwind
colors: {
  custom: {
    50: '#636f8d',
    500: '#213a60',
    950: '#000000',
  },
}
SCSS
$custom: #213a60;
$custom-light: #636f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#213a60",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 96
  },
  "hsl": {
    "h": 216.19,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34844,
    "c": 0.07369,
    "h": 258.5
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#213A60
secondary
#947649
accent
#A24FD8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213A60

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

Preview Lab → · Contrast checker → · Palette generator →

#213A60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva