#21537D#21537D

#21537D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.9% C 0.088 H 247.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#21537D
RGBrgb(33, 83, 125)
HSLhsl(207, 58%, 31%)
HSVhsv(207, 74%, 49%)
CMYKcmyk(73.6%, 33.6%, 0%, 51%)
CIE-LABlab(33.96, -1.65, -28.58)
CIE-LCHlch(33.96, 28.63, 266.69°)
OKLaboklab(42.94% -0.0342 -0.081)
OKLCHoklch(42.94% 0.088 247.1)
XYZxyz(7.4207, 7.9897, 20.5491)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21537D #7D4B21
analogous
#217D79 #21537D #21257D
triadic
#21537D #7D2153 #537D21
tetradic
#21537D #79217D #7D4B21 #257D21
square
#21537D #79217D #7D4B21 #257D21
split-complementary
#21537D #7D2125 #7D7921
monochromatic
#07131C #14334D #21537D #2E73AD #4992CF

Accessibility & contrast

On white

8.08
#21537D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21537D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21537D#FFFFFF#000000##FFFFFF
##21537D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21537d;
/* rgb */ color: rgb(33, 83, 125);
/* oklch */ color: oklch(42.9% 0.088 247.1);
Tailwind
colors: {
  custom: {
    50: '#6983a3',
    500: '#21537d',
    950: '#000000',
  },
}
SCSS
$custom: #21537d;
$custom-light: #6983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21537d",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 207.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.08793,
    "h": 247.1
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#21537D
secondary
#B0784A
accent
#8D46E1
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21537D

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

Preview Lab → · Contrast checker → · Palette generator →

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