#21507A#21507A

#21507A is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.087 H 248.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#21507A
RGBrgb(33, 80, 122)
HSLhsl(208, 57%, 30%)
HSVhsv(208, 73%, 48%)
CMYKcmyk(73%, 34.4%, 0%, 52.2%)
CIE-LABlab(32.84, -0.87, -28.48)
CIE-LCHlch(32.84, 28.50, 268.25°)
OKLaboklab(42.01% -0.0319 -0.0808)
OKLCHoklch(42.01% 0.087 248.4)
XYZxyz(7.0074, 7.4650, 19.4802)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21507A #7A4B21
analogous
#217A77 #21507A #21237A
triadic
#21507A #7A2150 #507A21
tetradic
#21507A #77217A #7A4B21 #237A21
square
#21507A #77217A #7A4B21 #237A21
split-complementary
#21507A #7A2123 #7A7721
monochromatic
#07111A #14304A #21507A #2E70AA #488ECD

Accessibility & contrast

On white

8.42
#21507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#21507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21507A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21507A#FFFFFF#000000##FFFFFF
##21507A1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#314979
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21507a;
/* rgb */ color: rgb(33, 80, 122);
/* oklch */ color: oklch(42.0% 0.087 248.4);
Tailwind
colors: {
  custom: {
    50: '#6880a0',
    500: '#21507a',
    950: '#000000',
  },
}
SCSS
$custom: #21507a;
$custom-light: #6880a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21507a",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 208.315,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.08685,
    "h": 248.4
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#21507A
secondary
#AD794A
accent
#9047E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #21507A

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

Preview Lab → · Contrast checker → · Palette generator →

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