#21508D#21508D

#21508D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.113 H 256.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#21508D
RGBrgb(33, 80, 141)
HSLhsl(214, 62%, 34%)
HSVhsv(214, 77%, 55%)
CMYKcmyk(76.6%, 43.3%, 0%, 44.7%)
CIE-LABlab(33.95, 6.56, -38.44)
CIE-LCHlch(33.95, 38.99, 279.68°)
OKLaboklab(43.23% -0.0269 -0.1099)
OKLCHoklch(43.23% 0.113 256.2)
XYZxyz(8.3018, 7.9828, 26.2974)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508D #8D5E21
analogous
#21868D #21508D #28218D
triadic
#21508D #8D2150 #508D21
tetradic
#21508D #8D2186 #8D5E21 #218D28
square
#21508D #8D2186 #8D5E21 #218D28
split-complementary
#21508D #8D2821 #868D21
monochromatic
#0A182A #15345B #21508D #2D6CBF #528CD6

Accessibility & contrast

On white

8.09
#21508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21508D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21508D#FFFFFF#000000##FFFFFF
##21508D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21508d;
/* rgb */ color: rgb(33, 80, 141);
/* oklch */ color: oklch(43.2% 0.113 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c80af',
    500: '#21508d',
    950: '#000000',
  },
}
SCSS
$custom: #21508d;
$custom-light: #6c80af;
$custom-dark: #000000;
JSON
{
  "hex": "#21508d",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 213.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.11316,
    "h": 256.2
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#21508D
secondary
#BA8C50
accent
#9E43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21508D

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

Preview Lab → · Contrast checker → · Palette generator →

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