#21507E#21507E

#21507E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.092 H 250.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#21507E
RGBrgb(33, 80, 126)
HSLhsl(210, 58%, 31%)
HSVhsv(210, 74%, 49%)
CMYKcmyk(73.8%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.06, 0.67, -30.62)
CIE-LCHlch(33.06, 30.63, 271.26°)
OKLaboklab(42.25% -0.0307 -0.087)
OKLCHoklch(42.25% 0.092 250.5)
XYZxyz(7.2603, 7.5662, 20.8124)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21507E #7E4F21
analogous
#217E7D #21507E #21217E
triadic
#21507E #7E2150 #507E21
tetradic
#21507E #7D217E #7E4F21 #217E21
square
#21507E #7D217E #7E4F21 #217E21
split-complementary
#21507E #7E2121 #7E7D21
monochromatic
#08121D #14314E #21507E #2E6FAE #4A8DD0

Accessibility & contrast

On white

8.36
#21507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#21507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21507E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21507E#FFFFFF#000000##FFFFFF
##21507E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21507e;
/* rgb */ color: rgb(33, 80, 126);
/* oklch */ color: oklch(42.3% 0.092 250.5);
Tailwind
colors: {
  custom: {
    50: '#6980a3',
    500: '#21507e',
    950: '#000000',
  },
}
SCSS
$custom: #21507e;
$custom-light: #6980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21507e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 209.677,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.09226,
    "h": 250.5
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#21507E
secondary
#B17D4A
accent
#9346E2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21507E

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

Preview Lab → · Contrast checker → · Palette generator →

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