#21517D#21517D

#21517D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.090 H 249.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#21517D
RGBrgb(33, 81, 125)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 74%, 49%)
CMYKcmyk(73.6%, 35.2%, 0%, 51%)
CIE-LABlab(33.32, -0.36, -29.58)
CIE-LCHlch(33.32, 29.59, 269.30°)
OKLaboklab(42.44% -0.0321 -0.084)
OKLCHoklch(42.44% 0.09 249.1)
XYZxyz(7.2699, 7.6881, 20.4989)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21517D #7D4D21
analogous
#217D7B #21517D #21237D
triadic
#21517D #7D2151 #517D21
tetradic
#21517D #7B217D #7D4D21 #237D21
square
#21517D #7B217D #7D4D21 #237D21
split-complementary
#21517D #7D2123 #7D7B21
monochromatic
#07121C #14324D #21517D #2E70AD #498FCF

Accessibility & contrast

On white

8.27
#21517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#21517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21517D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21517D#FFFFFF#000000##FFFFFF
##21517D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21517d;
/* rgb */ color: rgb(33, 81, 125);
/* oklch */ color: oklch(42.4% 0.090 249.1);
Tailwind
colors: {
  custom: {
    50: '#6981a3',
    500: '#21517d',
    950: '#000000',
  },
}
SCSS
$custom: #21517d;
$custom-light: #6981a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21517d",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 208.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.08989,
    "h": 249.1
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#21517D
secondary
#B07B4A
accent
#9146E1
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21517D

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

Preview Lab → · Contrast checker → · Palette generator →

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