#21507C#21507C

#21507C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.090 H 249.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#21507C
RGBrgb(33, 80, 124)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 73%, 49%)
CMYKcmyk(73.4%, 35.5%, 0%, 51.4%)
CIE-LABlab(32.95, -0.10, -29.55)
CIE-LCHlch(32.95, 29.55, 269.80°)
OKLaboklab(42.13% -0.0313 -0.0839)
OKLCHoklch(42.13% 0.09 249.5)
XYZxyz(7.1326, 7.5151, 20.1395)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21507C #7C4D21
analogous
#217C7A #21507C #21227C
triadic
#21507C #7C2150 #507C21
tetradic
#21507C #7A217C #7C4D21 #227C21
square
#21507C #7A217C #7C4D21 #227C21
split-complementary
#21507C #7C2122 #7C7A21
monochromatic
#07121B #14314C #21507C #2E6FAC #498ECF

Accessibility & contrast

On white

8.39
#21507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#21507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21507C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21507C#FFFFFF#000000##FFFFFF
##21507C1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#2F4A7B
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21507c;
/* rgb */ color: rgb(33, 80, 124);
/* oklch */ color: oklch(42.1% 0.090 249.5);
Tailwind
colors: {
  custom: {
    50: '#6980a2',
    500: '#21507c',
    950: '#000000',
  },
}
SCSS
$custom: #21507c;
$custom-light: #6980a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21507c",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 209.011,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.08954,
    "h": 249.5
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#21507C
secondary
#AF7B4A
accent
#9147E1
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21507C

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

Preview Lab → · Contrast checker → · Palette generator →

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