#21508C#21508C

#21508C is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.112 H 256.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#21508C
RGBrgb(33, 80, 140)
HSLhsl(214, 62%, 34%)
HSVhsv(214, 76%, 55%)
CMYKcmyk(76.4%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.89, 6.16, -37.92)
CIE-LCHlch(33.89, 38.42, 279.23°)
OKLaboklab(43.16% -0.0271 -0.1084)
OKLCHoklch(43.16% 0.112 256)
XYZxyz(8.2277, 7.9532, 25.9073)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508C #8C5D21
analogous
#21868C #21508C #28218C
triadic
#21508C #8C2150 #508C21
tetradic
#21508C #8C2186 #8C5D21 #218C28
square
#21508C #8C2186 #8C5D21 #218C28
split-complementary
#21508C #8C2821 #868C21
monochromatic
#0A1729 #15345A #21508C #2D6CBE #518CD6

Accessibility & contrast

On white

8.11
#21508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#21508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21508C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21508C#FFFFFF#000000##FFFFFF
##21508C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21508c;
/* rgb */ color: rgb(33, 80, 140);
/* oklch */ color: oklch(43.2% 0.112 256.0);
Tailwind
colors: {
  custom: {
    50: '#6c80ae',
    500: '#21508c',
    950: '#000000',
  },
}
SCSS
$custom: #21508c;
$custom-light: #6c80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21508c",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 213.645,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.11175,
    "h": 256
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#21508C
secondary
#B98B4F
accent
#9E43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21508C

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

Preview Lab → · Contrast checker → · Palette generator →

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