#204879#204879

#204879 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.095 H 255.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#204879
RGBrgb(32, 72, 121)
HSLhsl(213, 58%, 30%)
HSVhsv(213, 74%, 47%)
CMYKcmyk(73.6%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.21, 3.84, -32.03)
CIE-LCHlch(30.21, 32.26, 276.84°)
OKLaboklab(39.92% -0.0245 -0.0913)
OKLCHoklch(39.92% 0.095 255)
XYZxyz(6.3630, 6.3216, 18.9703)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204879 #795120
analogous
#207479 #204879 #252079
triadic
#204879 #792048 #487920
tetradic
#204879 #792074 #795120 #207925
square
#204879 #792074 #795120 #207925
split-complementary
#204879 #792520 #747920
monochromatic
#060E18 #132B49 #204879 #2D65A9 #4583CE

Accessibility & contrast

On white

9.27
#204879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#204879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204879
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204879#FFFFFF#000000##FFFFFF
##2048791.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204879;
/* rgb */ color: rgb(32, 72, 121);
/* oklch */ color: oklch(39.9% 0.095 255.0);
Tailwind
colors: {
  custom: {
    50: '#677aa0',
    500: '#204879',
    950: '#000000',
  },
}
SCSS
$custom: #204879;
$custom-light: #677aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#204879",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 213.034,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.09451,
    "h": 255
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#204879
secondary
#AC7F49
accent
#9C46E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #204879

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

Preview Lab → · Contrast checker → · Palette generator →

#204879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva