#21547D#21547D

#21547D is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.087 H 246.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#21547D
RGBrgb(33, 84, 125)
HSLhsl(207, 58%, 31%)
HSVhsv(207, 74%, 49%)
CMYKcmyk(73.6%, 32.8%, 0%, 51%)
CIE-LABlab(34.28, -2.29, -28.08)
CIE-LCHlch(34.28, 28.17, 265.34°)
OKLaboklab(43.19% -0.0353 -0.0795)
OKLCHoklch(43.19% 0.087 246.1)
XYZxyz(7.4978, 8.1438, 20.5748)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21547D #7D4A21
analogous
#217D78 #21547D #21267D
triadic
#21547D #7D2154 #547D21
tetradic
#21547D #78217D #7D4A21 #267D21
square
#21547D #78217D #7D4A21 #267D21
split-complementary
#21547D #7D2126 #7D7821
monochromatic
#07131C #14334D #21547D #2E75AD #4993CF

Accessibility & contrast

On white

7.99
#21547D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#21547D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21547D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21547D#FFFFFF#000000##FFFFFF
##21547D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21547d;
/* rgb */ color: rgb(33, 84, 125);
/* oklch */ color: oklch(43.2% 0.087 246.1);
Tailwind
colors: {
  custom: {
    50: '#6983a3',
    500: '#21547d',
    950: '#000000',
  },
}
SCSS
$custom: #21547d;
$custom-light: #6983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21547d",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 125
  },
  "hsl": {
    "h": 206.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.08699,
    "h": 246.1
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#21547D
secondary
#B0774A
accent
#8B46E1
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21547D

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

Preview Lab → · Contrast checker → · Palette generator →

#21547D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva