#204874#204874

#204874 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.087 H 252.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#204874
RGBrgb(32, 72, 116)
HSLhsl(211, 57%, 29%)
HSVhsv(211, 72%, 45%)
CMYKcmyk(72.4%, 37.9%, 0%, 54.5%)
CIE-LABlab(29.92, 1.88, -29.36)
CIE-LCHlch(29.92, 29.42, 273.66°)
OKLaboklab(39.59% -0.0259 -0.0834)
OKLCHoklch(39.59% 0.087 252.8)
XYZxyz(6.0642, 6.2021, 17.3971)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204874 #744C20
analogous
#207274 #204874 #222074
triadic
#204874 #742048 #487420
tetradic
#204874 #742072 #744C20 #207422
square
#204874 #742072 #744C20 #207422
split-complementary
#204874 #742220 #727420
monochromatic
#070F18 #132A44 #204874 #2D66A4 #4384CB

Accessibility & contrast

On white

9.37
#204874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#204874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204874
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204874#FFFFFF#000000##FFFFFF
##2048741.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204874;
/* rgb */ color: rgb(32, 72, 116);
/* oklch */ color: oklch(39.6% 0.087 252.8);
Tailwind
colors: {
  custom: {
    50: '#667a9c',
    500: '#204874',
    950: '#000000',
  },
}
SCSS
$custom: #204874;
$custom-light: #667a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#204874",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 211.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.08736,
    "h": 252.8
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#204874
secondary
#A87A48
accent
#9848E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #204874

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

Preview Lab → · Contrast checker → · Palette generator →

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