#213C7A#213C7A

#213C7A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.111 H 264.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#213C7A
RGBrgb(33, 60, 122)
HSLhsl(222, 57%, 30%)
HSVhsv(222, 73%, 48%)
CMYKcmyk(73%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.62, 12.63, -38.40)
CIE-LCHlch(26.62, 40.43, 288.21°)
OKLaboklab(37.18% -0.0114 -0.1102)
OKLCHoklch(37.18% 0.111 264.1)
XYZxyz(5.7547, 4.9596, 19.0626)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C7A #7A5F21
analogous
#21687A #213C7A #33217A
triadic
#213C7A #7A213C #3C7A21
tetradic
#213C7A #7A2168 #7A5F21 #217A33
square
#213C7A #7A2168 #7A5F21 #217A33
split-complementary
#213C7A #7A3321 #687A21
monochromatic
#070D1A #14244A #213C7A #2E54AA #4870CD

Accessibility & contrast

On white

10.54
#213C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C7A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C7A#FFFFFF#000000##FFFFFF
##213C7A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213c7a;
/* rgb */ color: rgb(33, 60, 122);
/* oklch */ color: oklch(37.2% 0.111 264.1);
Tailwind
colors: {
  custom: {
    50: '#6871a1',
    500: '#213c7a',
    950: '#000000',
  },
}
SCSS
$custom: #213c7a;
$custom-light: #6871a1;
$custom-dark: #000000;
JSON
{
  "hex": "#213c7a",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 221.798,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.11078,
    "h": 264.1
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#213C7A
secondary
#AD8F4A
accent
#B247E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #213C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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