#21547F#21547F

#21547F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.090 H 247.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#21547F
RGBrgb(33, 84, 127)
HSLhsl(207, 59%, 31%)
HSVhsv(207, 74%, 50%)
CMYKcmyk(74%, 33.9%, 0%, 50.2%)
CIE-LABlab(34.39, -1.52, -29.14)
CIE-LCHlch(34.39, 29.18, 267.01°)
OKLaboklab(43.31% -0.0346 -0.0826)
OKLCHoklch(43.31% 0.09 247.3)
XYZxyz(7.6268, 8.1954, 21.2545)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21547F #7F4C21
analogous
#217F7B #21547F #21257F
triadic
#21547F #7F2154 #547F21
tetradic
#21547F #7B217F #7F4C21 #257F21
square
#21547F #7B217F #7F4C21 #257F21
split-complementary
#21547F #7F2125 #7F7B21
monochromatic
#08141E #14344E #21547F #2E74B0 #4A93D0

Accessibility & contrast

On white

7.96
#21547F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#21547F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21547F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21547F#FFFFFF#000000##FFFFFF
##21547F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#334D7E
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21547f;
/* rgb */ color: rgb(33, 84, 127);
/* oklch */ color: oklch(43.3% 0.090 247.3);
Tailwind
colors: {
  custom: {
    50: '#6983a4',
    500: '#21547f',
    950: '#000000',
  },
}
SCSS
$custom: #21547f;
$custom-light: #6983a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21547f",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 127
  },
  "hsl": {
    "h": 207.447,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43309,
    "c": 0.0896,
    "h": 247.3
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#21547F
secondary
#B2794A
accent
#8D46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21547F

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

Preview Lab → · Contrast checker → · Palette generator →

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