#21537E#21537E

#21537E is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.089 H 247.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#21537E
RGBrgb(33, 83, 126)
HSLhsl(208, 58%, 31%)
HSVhsv(208, 74%, 49%)
CMYKcmyk(73.8%, 34.1%, 0%, 50.6%)
CIE-LABlab(34.01, -1.27, -29.11)
CIE-LCHlch(34.01, 29.14, 267.51°)
OKLaboklab(43% -0.0339 -0.0825)
OKLCHoklch(43% 0.089 247.7)
XYZxyz(7.4849, 8.0154, 20.8873)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21537E #7E4C21
analogous
#217E7A #21537E #21247E
triadic
#21537E #7E2153 #537E21
tetradic
#21537E #7A217E #7E4C21 #247E21
square
#21537E #7A217E #7E4C21 #247E21
split-complementary
#21537E #7E2124 #7E7A21
monochromatic
#08131D #14334E #21537E #2E73AE #4A92D0

Accessibility & contrast

On white

8.07
#21537E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#21537E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21537E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21537E#FFFFFF#000000##FFFFFF
##21537E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21537e;
/* rgb */ color: rgb(33, 83, 126);
/* oklch */ color: oklch(43.0% 0.089 247.7);
Tailwind
colors: {
  custom: {
    50: '#6983a3',
    500: '#21537e',
    950: '#000000',
  },
}
SCSS
$custom: #21537e;
$custom-light: #6983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21537e",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 207.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.08924,
    "h": 247.7
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#21537E
secondary
#B17A4A
accent
#8E46E2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21537E

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

Preview Lab → · Contrast checker → · Palette generator →

#21537E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva