#213C7D#213C7D

#213C7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.115 H 264.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#213C7D
RGBrgb(33, 60, 125)
HSLhsl(222, 58%, 31%)
HSVhsv(222, 74%, 49%)
CMYKcmyk(73.6%, 52%, 0%, 51%)
CIE-LABlab(26.83, 13.83, -39.94)
CIE-LCHlch(26.83, 42.27, 289.09°)
OKLaboklab(37.41% -0.011 -0.1147)
OKLCHoklch(37.41% 0.115 264.5)
XYZxyz(5.9434, 5.0351, 20.0567)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C7D #7D6221
analogous
#216A7D #213C7D #34217D
triadic
#213C7D #7D213C #3C7D21
tetradic
#213C7D #7D216A #7D6221 #217D34
square
#213C7D #7D216A #7D6221 #217D34
split-complementary
#213C7D #7D3421 #6A7D21
monochromatic
#070E1C #14254D #213C7D #2E53AD #4971CF

Accessibility & contrast

On white

10.46
#213C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C7D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C7D#FFFFFF#000000##FFFFFF
##213C7D1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213c7d;
/* rgb */ color: rgb(33, 60, 125);
/* oklch */ color: oklch(37.4% 0.115 264.5);
Tailwind
colors: {
  custom: {
    50: '#6971a3',
    500: '#213c7d',
    950: '#000000',
  },
}
SCSS
$custom: #213c7d;
$custom-light: #6971a3;
$custom-dark: #000000;
JSON
{
  "hex": "#213c7d",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 222.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.11525,
    "h": 264.5
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#213C7D
secondary
#B0924A
accent
#B446E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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