#204F8E#204F8E

#204F8E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.116 H 256.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#204F8E
RGBrgb(32, 79, 142)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 77%, 56%)
CMYKcmyk(77.5%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.67, 7.48, -39.49)
CIE-LCHlch(33.67, 40.19, 280.73°)
OKLaboklab(43.03% -0.0264 -0.113)
OKLCHoklch(43.03% 0.116 256.8)
XYZxyz(8.2723, 7.8511, 26.6654)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F8E #8E5F20
analogous
#20868E #204F8E #28208E
triadic
#204F8E #8E204F #4F8E20
tetradic
#204F8E #8E2086 #8E5F20 #208E28
square
#204F8E #8E2086 #8E5F20 #208E28
split-complementary
#204F8E #8E2820 #868E20
monochromatic
#09172A #15335C #204F8E #2B6BC0 #518AD8

Accessibility & contrast

On white

8.17
#204F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#204F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F8E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F8E#FFFFFF#000000##FFFFFF
##204F8E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204f8e;
/* rgb */ color: rgb(32, 79, 142);
/* oklch */ color: oklch(43.0% 0.116 256.8);
Tailwind
colors: {
  custom: {
    50: '#6c7faf',
    500: '#204f8e',
    950: '#000000',
  },
}
SCSS
$custom: #204f8e;
$custom-light: #6c7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#204f8e",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 214.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.11609,
    "h": 256.8
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#204F8E
secondary
#BB8D4F
accent
#A042E6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #204F8E

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

Preview Lab → · Contrast checker → · Palette generator →

#204F8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva