#21437D#21437D

#21437D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.106 H 260.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#21437D
RGBrgb(33, 67, 125)
HSLhsl(218, 58%, 31%)
HSVhsv(218, 74%, 49%)
CMYKcmyk(73.6%, 46.4%, 0%, 51%)
CIE-LABlab(28.95, 8.98, -36.55)
CIE-LCHlch(28.95, 37.63, 283.81°)
OKLaboklab(39.03% -0.0178 -0.1046)
OKLCHoklch(39.03% 0.106 260.4)
XYZxyz(6.3347, 5.8176, 20.1871)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21437D #7D5B21
analogous
#21717D #21437D #2D217D
triadic
#21437D #7D2143 #437D21
tetradic
#21437D #7D2171 #7D5B21 #217D2D
square
#21437D #7D2171 #7D5B21 #217D2D
split-complementary
#21437D #7D2D21 #717D21
monochromatic
#070F1C #14294D #21437D #2E5DAD #497BCF

Accessibility & contrast

On white

9.71
#21437D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#21437D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21437D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21437D#FFFFFF#000000##FFFFFF
##21437D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21437d;
/* rgb */ color: rgb(33, 67, 125);
/* oklch */ color: oklch(39.0% 0.106 260.4);
Tailwind
colors: {
  custom: {
    50: '#6976a3',
    500: '#21437d',
    950: '#000000',
  },
}
SCSS
$custom: #21437d;
$custom-light: #6976a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21437d",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 125
  },
  "hsl": {
    "h": 217.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.1061,
    "h": 260.4
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#21437D
secondary
#B08A4A
accent
#A846E1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #21437D

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

Preview Lab → · Contrast checker → · Palette generator →

#21437D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva