#213A79#213A79

#213A79 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.112 H 265.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#213A79
RGBrgb(33, 58, 121)
HSLhsl(223, 57%, 30%)
HSVhsv(223, 73%, 47%)
CMYKcmyk(72.7%, 52.1%, 0%, 52.5%)
CIE-LABlab(25.95, 13.63, -38.85)
CIE-LCHlch(25.95, 41.17, 289.33°)
OKLaboklab(36.64% -0.0097 -0.1115)
OKLCHoklch(36.64% 0.112 265)
XYZxyz(5.5902, 4.7294, 18.7037)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A79 #796021
analogous
#216679 #213A79 #342179
triadic
#213A79 #79213A #3A7921
tetradic
#213A79 #792166 #796021 #217934
square
#213A79 #792166 #796021 #217934
split-complementary
#213A79 #793421 #667921
monochromatic
#070C19 #142349 #213A79 #2E51A9 #476DCD

Accessibility & contrast

On white

10.79
#213A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A79
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A79#FFFFFF#000000##FFFFFF
##213A791.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213a79;
/* rgb */ color: rgb(33, 58, 121);
/* oklch */ color: oklch(36.6% 0.112 265.0);
Tailwind
colors: {
  custom: {
    50: '#686fa0',
    500: '#213a79',
    950: '#000000',
  },
}
SCSS
$custom: #213a79;
$custom-light: #686fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#213a79",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 222.955,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.11196,
    "h": 265
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#213A79
secondary
#AC904A
accent
#B547E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213A79

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

Preview Lab → · Contrast checker → · Palette generator →

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