#21537F#21537F

#21537F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.091 H 248.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#21537F
RGBrgb(33, 83, 127)
HSLhsl(208, 59%, 31%)
HSVhsv(208, 74%, 50%)
CMYKcmyk(74%, 34.6%, 0%, 50.2%)
CIE-LABlab(34.07, -0.88, -29.65)
CIE-LCHlch(34.07, 29.66, 268.30°)
OKLaboklab(43.06% -0.0336 -0.0841)
OKLCHoklch(43.06% 0.091 248.2)
XYZxyz(7.5498, 8.0413, 21.2288)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21537F #7F4D21
analogous
#217F7C #21537F #21247F
triadic
#21537F #7F2153 #537F21
tetradic
#21537F #7C217F #7F4D21 #247F21
square
#21537F #7C217F #7F4D21 #247F21
split-complementary
#21537F #7F2124 #7F7C21
monochromatic
#08141E #14334E #21537F #2E73B0 #4A91D0

Accessibility & contrast

On white

8.05
#21537F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#21537F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21537F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21537F#FFFFFF#000000##FFFFFF
##21537F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21537f;
/* rgb */ color: rgb(33, 83, 127);
/* oklch */ color: oklch(43.1% 0.091 248.2);
Tailwind
colors: {
  custom: {
    50: '#6983a4',
    500: '#21537f',
    950: '#000000',
  },
}
SCSS
$custom: #21537f;
$custom-light: #6983a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21537f",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 127
  },
  "hsl": {
    "h": 208.085,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.09057,
    "h": 248.2
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#21537F
secondary
#B27B4A
accent
#8F46E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21537F

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

Preview Lab → · Contrast checker → · Palette generator →

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