#21508A#21508A

#21508A is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.109 H 255.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#21508A
RGBrgb(33, 80, 138)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 54%)
CMYKcmyk(76.1%, 42%, 0%, 45.9%)
CIE-LABlab(33.76, 5.37, -36.90)
CIE-LCHlch(33.76, 37.28, 278.28°)
OKLaboklab(43.03% -0.0276 -0.1054)
OKLCHoklch(43.03% 0.109 255.3)
XYZxyz(8.0816, 7.8947, 25.1377)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508A #8A5B21
analogous
#21848A #21508A #26218A
triadic
#21508A #8A2150 #508A21
tetradic
#21508A #8A2184 #8A5B21 #218A26
square
#21508A #8A2184 #8A5B21 #218A26
split-complementary
#21508A #8A2621 #848A21
monochromatic
#091727 #153359 #21508A #2D6DBB #508CD5

Accessibility & contrast

On white

8.14
#21508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#21508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21508A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21508A#FFFFFF#000000##FFFFFF
##21508A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #21508a;
/* rgb */ color: rgb(33, 80, 138);
/* oklch */ color: oklch(43.0% 0.109 255.3);
Tailwind
colors: {
  custom: {
    50: '#6b80ac',
    500: '#21508a',
    950: '#000000',
  },
}
SCSS
$custom: #21508a;
$custom-light: #6b80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21508a",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 213.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.10894,
    "h": 255.3
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#21508A
secondary
#B9894E
accent
#9C43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21508A

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

Preview Lab → · Contrast checker → · Palette generator →

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