#204979#204979

#204979 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.093 H 254.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#204979
RGBrgb(32, 73, 121)
HSLhsl(212, 58%, 30%)
HSVhsv(212, 74%, 47%)
CMYKcmyk(73.6%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.53, 3.17, -31.53)
CIE-LCHlch(30.53, 31.69, 275.75°)
OKLaboklab(40.16% -0.0256 -0.0898)
OKLCHoklch(40.16% 0.093 254.1)
XYZxyz(6.4281, 6.4519, 18.9920)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204979 #795020
analogous
#207579 #204979 #242079
triadic
#204979 #792049 #497920
tetradic
#204979 #792075 #795020 #207924
square
#204979 #792075 #795020 #207924
split-complementary
#204979 #792420 #757920
monochromatic
#060F18 #132C49 #204979 #2D66A9 #4584CE

Accessibility & contrast

On white

9.17
#204979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#204979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204979
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204979#FFFFFF#000000##FFFFFF
##2049791.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204979;
/* rgb */ color: rgb(32, 73, 121);
/* oklch */ color: oklch(40.2% 0.093 254.1);
Tailwind
colors: {
  custom: {
    50: '#677ba0',
    500: '#204979',
    950: '#000000',
  },
}
SCSS
$custom: #204979;
$custom-light: #677ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#204979",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 212.36,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.40162,
    "c": 0.09336,
    "h": 254.1
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#204979
secondary
#AC7E49
accent
#9A46E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #204979

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

Preview Lab → · Contrast checker → · Palette generator →

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