#21437C#21437C

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

Color values

HEX#21437C
RGBrgb(33, 67, 124)
HSLhsl(218, 58%, 31%)
HSVhsv(218, 73%, 49%)
CMYKcmyk(73.4%, 46%, 0%, 51.4%)
CIE-LABlab(28.88, 8.58, -36.03)
CIE-LCHlch(28.88, 37.03, 283.40°)
OKLaboklab(38.96% -0.018 -0.1031)
OKLCHoklch(38.96% 0.105 260.1)
XYZxyz(6.2711, 5.7922, 19.8524)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21437C #7C5A21
analogous
#21707C #21437C #2C217C
triadic
#21437C #7C2143 #437C21
tetradic
#21437C #7C2170 #7C5A21 #217C2C
square
#21437C #7C2170 #7C5A21 #217C2C
split-complementary
#21437C #7C2C21 #707C21
monochromatic
#070F1B #14294C #21437C #2E5DAC #497BCF

Accessibility & contrast

On white

9.73
#21437C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21437C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21437C#FFFFFF#000000##FFFFFF
##21437C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21437c;
/* rgb */ color: rgb(33, 67, 124);
/* oklch */ color: oklch(39.0% 0.105 260.1);
Tailwind
colors: {
  custom: {
    50: '#6976a2',
    500: '#21437c',
    950: '#000000',
  },
}
SCSS
$custom: #21437c;
$custom-light: #6976a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21437c",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 217.582,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.10462,
    "h": 260.1
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#21437C
secondary
#AF894A
accent
#A747E1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #21437C

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

Preview Lab → · Contrast checker → · Palette generator →

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