#21508F#21508F

#21508F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.4% C 0.116 H 256.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#21508F
RGBrgb(33, 80, 143)
HSLhsl(214, 63%, 35%)
HSVhsv(214, 77%, 56%)
CMYKcmyk(76.9%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.07, 7.35, -39.46)
CIE-LCHlch(34.07, 40.13, 280.55°)
OKLaboklab(43.37% -0.0265 -0.1129)
OKLCHoklch(43.37% 0.116 256.8)
XYZxyz(8.4520, 8.0429, 27.0883)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508F #8F6021
analogous
#21878F #21508F #29218F
triadic
#21508F #8F2150 #508F21
tetradic
#21508F #8F2187 #8F6021 #218F29
square
#21508F #8F2187 #8F6021 #218F29
split-complementary
#21508F #8F2921 #878F21
monochromatic
#0A182C #16345D #21508F #2C6CC1 #538CD7

Accessibility & contrast

On white

8.05
#21508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#21508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21508F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21508F#FFFFFF#000000##FFFFFF
##21508F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#1D4B8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21508f;
/* rgb */ color: rgb(33, 80, 143);
/* oklch */ color: oklch(43.4% 0.116 256.8);
Tailwind
colors: {
  custom: {
    50: '#6d80b0',
    500: '#21508f',
    950: '#000000',
  },
}
SCSS
$custom: #21508f;
$custom-light: #6d80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21508f",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 214.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.11597,
    "h": 256.8
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#21508F
secondary
#BB8E51
accent
#A042E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21508F

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

Preview Lab → · Contrast checker → · Palette generator →

#21508F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva