#21507D#21507D

#21507D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.091 H 250.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#21507D
RGBrgb(33, 80, 125)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 74%, 49%)
CMYKcmyk(73.6%, 36%, 0%, 51%)
CIE-LABlab(33.01, 0.29, -30.09)
CIE-LCHlch(33.01, 30.09, 270.54°)
OKLaboklab(42.19% -0.031 -0.0854)
OKLCHoklch(42.19% 0.091 250)
XYZxyz(7.1961, 7.5405, 20.4743)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21507D #7D4E21
analogous
#217D7C #21507D #21227D
triadic
#21507D #7D2150 #507D21
tetradic
#21507D #7C217D #7D4E21 #227D21
square
#21507D #7C217D #7D4E21 #227D21
split-complementary
#21507D #7D2122 #7D7C21
monochromatic
#07121C #14314D #21507D #2E6FAD #498ECF

Accessibility & contrast

On white

8.37
#21507D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21507D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21507D#FFFFFF#000000##FFFFFF
##21507D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21507d;
/* rgb */ color: rgb(33, 80, 125);
/* oklch */ color: oklch(42.2% 0.091 250.0);
Tailwind
colors: {
  custom: {
    50: '#6980a3',
    500: '#21507d',
    950: '#000000',
  },
}
SCSS
$custom: #21507d;
$custom-light: #6980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21507d",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 209.348,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.09091,
    "h": 250
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#21507D
secondary
#B07C4A
accent
#9246E1
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21507D

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

Preview Lab → · Contrast checker → · Palette generator →

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