#213E7D#213E7D

#213E7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.113 H 263.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#213E7D
RGBrgb(33, 62, 125)
HSLhsl(221, 58%, 31%)
HSVhsv(221, 74%, 49%)
CMYKcmyk(73.6%, 50.4%, 0%, 51%)
CIE-LABlab(27.43, 12.43, -38.98)
CIE-LCHlch(27.43, 40.92, 287.69°)
OKLaboklab(37.87% -0.0129 -0.1118)
OKLCHoklch(37.87% 0.113 263.4)
XYZxyz(6.0502, 5.2486, 20.0923)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E7D #7D6021
analogous
#216C7D #213E7D #32217D
triadic
#213E7D #7D213E #3E7D21
tetradic
#213E7D #7D216C #7D6021 #217D32
square
#213E7D #7D216C #7D6021 #217D32
split-complementary
#213E7D #7D3221 #6C7D21
monochromatic
#070E1C #14264D #213E7D #2E56AD #4973CF

Accessibility & contrast

On white

10.24
#213E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E7D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E7D#FFFFFF#000000##FFFFFF
##213E7D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#013D7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213e7d;
/* rgb */ color: rgb(33, 62, 125);
/* oklch */ color: oklch(37.9% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#6972a3',
    500: '#213e7d',
    950: '#000000',
  },
}
SCSS
$custom: #213e7d;
$custom-light: #6972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#213e7d",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 221.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37867,
    "c": 0.11259,
    "h": 263.4
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#213E7D
secondary
#B0904A
accent
#B146E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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