#213C7C#213C7C

#213C7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.114 H 264.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#213C7C
RGBrgb(33, 60, 124)
HSLhsl(222, 58%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(73.4%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.76, 13.43, -39.43)
CIE-LCHlch(26.76, 41.66, 288.81°)
OKLaboklab(37.33% -0.0112 -0.1132)
OKLCHoklch(37.33% 0.114 264.4)
XYZxyz(5.8799, 5.0097, 19.7220)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C7C #7C6121
analogous
#21697C #213C7C #33217C
triadic
#213C7C #7C213C #3C7C21
tetradic
#213C7C #7C2169 #7C6121 #217C33
square
#213C7C #7C2169 #7C6121 #217C33
split-complementary
#213C7C #7C3321 #697C21
monochromatic
#070D1B #14254C #213C7C #2E53AC #4971CF

Accessibility & contrast

On white

10.49
#213C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C7C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C7C#FFFFFF#000000##FFFFFF
##213C7C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213c7c;
/* rgb */ color: rgb(33, 60, 124);
/* oklch */ color: oklch(37.3% 0.114 264.4);
Tailwind
colors: {
  custom: {
    50: '#6971a2',
    500: '#213c7c',
    950: '#000000',
  },
}
SCSS
$custom: #213c7c;
$custom-light: #6971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#213c7c",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 222.198,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37333,
    "c": 0.11377,
    "h": 264.4
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#213C7C
secondary
#AF914A
accent
#B347E1
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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