#21507B#21507B

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

Color values

HEX#21507B
RGBrgb(33, 80, 123)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 73%, 48%)
CMYKcmyk(73.2%, 35%, 0%, 51.8%)
CIE-LABlab(32.90, -0.49, -29.02)
CIE-LCHlch(32.90, 29.02, 269.04°)
OKLaboklab(42.07% -0.0316 -0.0823)
OKLCHoklch(42.07% 0.088 249)
XYZxyz(7.0697, 7.4899, 19.8082)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21507B #7B4C21
analogous
#217B79 #21507B #21237B
triadic
#21507B #7B2150 #507B21
tetradic
#21507B #79217B #7B4C21 #237B21
square
#21507B #79217B #7B4C21 #237B21
split-complementary
#21507B #7B2123 #7B7921
monochromatic
#07111A #14314B #21507B #2E6FAB #488ECE

Accessibility & contrast

On white

8.41
#21507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21507B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21507B#FFFFFF#000000##FFFFFF
##21507B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21507b;
/* rgb */ color: rgb(33, 80, 123);
/* oklch */ color: oklch(42.1% 0.088 249.0);
Tailwind
colors: {
  custom: {
    50: '#6880a1',
    500: '#21507b',
    950: '#000000',
  },
}
SCSS
$custom: #21507b;
$custom-light: #6880a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21507b",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 208.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.08819,
    "h": 249
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21507B

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

Preview Lab → · Contrast checker → · Palette generator →

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