#204F8F#204F8F

#204F8F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.117 H 257.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#204F8F
RGBrgb(32, 79, 143)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 78%, 56%)
CMYKcmyk(77.6%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.73, 7.88, -40.00)
CIE-LCHlch(33.73, 40.77, 281.14°)
OKLaboklab(43.1% -0.0262 -0.1145)
OKLCHoklch(43.1% 0.118 257.1)
XYZxyz(8.3477, 7.8813, 27.0626)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F8F #8F6020
analogous
#20878F #204F8F #29208F
triadic
#204F8F #8F204F #4F8F20
tetradic
#204F8F #8F2087 #8F6020 #208F29
square
#204F8F #8F2087 #8F6020 #208F29
split-complementary
#204F8F #8F2920 #878F20
monochromatic
#0A182B #15335D #204F8F #2B6BC1 #518AD8

Accessibility & contrast

On white

8.15
#204F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#204F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F8F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F8F#FFFFFF#000000##FFFFFF
##204F8F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#194B8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204f8f;
/* rgb */ color: rgb(32, 79, 143);
/* oklch */ color: oklch(43.1% 0.117 257.1);
Tailwind
colors: {
  custom: {
    50: '#6c7fb0',
    500: '#204f8f',
    950: '#000000',
  },
}
SCSS
$custom: #204f8f;
$custom-light: #6c7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#204f8f",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 214.595,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.1175,
    "h": 257.1
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#204F8F
secondary
#BB8E4F
accent
#A141E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #204F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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