#21508E#21508E

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

Color values

HEX#21508E
RGBrgb(33, 80, 142)
HSLhsl(214, 62%, 34%)
HSVhsv(214, 77%, 56%)
CMYKcmyk(76.8%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.01, 6.95, -38.95)
CIE-LCHlch(34.01, 39.56, 280.12°)
OKLaboklab(43.3% -0.0267 -0.1114)
OKLCHoklch(43.3% 0.115 256.5)
XYZxyz(8.3765, 8.0127, 26.6911)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508E #8E5F21
analogous
#21878E #21508E #28218E
triadic
#21508E #8E2150 #508E21
tetradic
#21508E #8E2187 #8E5F21 #218E28
square
#21508E #8E2187 #8E5F21 #218E28
split-complementary
#21508E #8E2821 #878E21
monochromatic
#0A182B #15345C #21508E #2D6CC0 #528CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21508E#FFFFFF#000000##FFFFFF
##21508E1.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)
#325590
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21508e;
/* rgb */ color: rgb(33, 80, 142);
/* oklch */ color: oklch(43.3% 0.115 256.5);
Tailwind
colors: {
  custom: {
    50: '#6c80af',
    500: '#21508e',
    950: '#000000',
  },
}
SCSS
$custom: #21508e;
$custom-light: #6c80af;
$custom-dark: #000000;
JSON
{
  "hex": "#21508e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 214.128,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.11456,
    "h": 256.5
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#21508E
secondary
#BA8D50
accent
#9F42E5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21508E

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

Preview Lab → · Contrast checker → · Palette generator →

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