#204878#204878

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

Color values

HEX#204878
RGBrgb(32, 72, 120)
HSLhsl(213, 58%, 30%)
HSVhsv(213, 73%, 47%)
CMYKcmyk(73.3%, 40%, 0%, 52.9%)
CIE-LABlab(30.15, 3.45, -31.50)
CIE-LCHlch(30.15, 31.69, 276.25°)
OKLaboklab(39.85% -0.0248 -0.0897)
OKLCHoklch(39.85% 0.093 254.6)
XYZxyz(6.3019, 6.2972, 18.6490)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204878 #785020
analogous
#207478 #204878 #242078
triadic
#204878 #782048 #487820
tetradic
#204878 #782074 #785020 #207824
square
#204878 #782074 #785020 #207824
split-complementary
#204878 #782420 #747820
monochromatic
#060E18 #132B48 #204878 #2D65A8 #4583CD

Accessibility & contrast

On white

9.29
#204878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204878
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204878#FFFFFF#000000##FFFFFF
##2048781.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#254377
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204878;
/* rgb */ color: rgb(32, 72, 120);
/* oklch */ color: oklch(39.9% 0.093 254.6);
Tailwind
colors: {
  custom: {
    50: '#677a9f',
    500: '#204878',
    950: '#000000',
  },
}
SCSS
$custom: #204878;
$custom-light: #677a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#204878",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.09307,
    "h": 254.6
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#204878
secondary
#AB7E48
accent
#9B47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #204878

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

Preview Lab → · Contrast checker → · Palette generator →

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