#213D80#213D80

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

Color values

HEX#213D80
RGBrgb(33, 61, 128)
HSLhsl(222, 59%, 32%)
HSVhsv(222, 74%, 50%)
CMYKcmyk(74.2%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.35, 14.33, -40.99)
CIE-LCHlch(27.35, 43.43, 289.26°)
OKLaboklab(37.87% -0.0116 -0.1178)
OKLCHoklch(37.87% 0.118 264.4)
XYZxyz(6.1908, 5.2187, 21.0989)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D80 #806421
analogous
#216D80 #213D80 #352180
triadic
#213D80 #80213D #3D8021
tetradic
#213D80 #80216D #806421 #218035
square
#213D80 #80216D #806421 #218035
split-complementary
#213D80 #803521 #6D8021
monochromatic
#080F1F #14264F #213D80 #2E54B1 #4B72D1

Accessibility & contrast

On white

10.27
#213D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D80
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D80#FFFFFF#000000##FFFFFF
##213D801.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213d80;
/* rgb */ color: rgb(33, 61, 128);
/* oklch */ color: oklch(37.9% 0.118 264.4);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#213d80',
    950: '#000000',
  },
}
SCSS
$custom: #213d80;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#213d80",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 222.316,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.11837,
    "h": 264.4
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#213D80
secondary
#B3944A
accent
#B446E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213D80

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

Preview Lab → · Contrast checker → · Palette generator →

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