#204F8A#204F8A

#204F8A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.110 H 255.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#204F8A
RGBrgb(32, 79, 138)
HSLhsl(213, 62%, 33%)
HSVhsv(213, 77%, 54%)
CMYKcmyk(76.8%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.42, 5.90, -37.44)
CIE-LCHlch(33.42, 37.90, 278.95°)
OKLaboklab(42.75% -0.0273 -0.107)
OKLCHoklch(42.75% 0.11 255.7)
XYZxyz(7.9774, 7.7331, 25.1120)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F8A #8A5B20
analogous
#20848A #204F8A #26208A
triadic
#204F8A #8A204F #4F8A20
tetradic
#204F8A #8A2084 #8A5B20 #208A26
square
#204F8A #8A2084 #8A5B20 #208A26
split-complementary
#204F8A #8A2620 #848A20
monochromatic
#091627 #143358 #204F8A #2C6BBC #4E8BD6

Accessibility & contrast

On white

8.25
#204F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#204F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F8A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F8A#FFFFFF#000000##FFFFFF
##204F8A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204f8a;
/* rgb */ color: rgb(32, 79, 138);
/* oklch */ color: oklch(42.8% 0.110 255.7);
Tailwind
colors: {
  custom: {
    50: '#6b7fac',
    500: '#204f8a',
    950: '#000000',
  },
}
SCSS
$custom: #204f8a;
$custom-light: #6b7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#204f8a",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 213.396,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.11046,
    "h": 255.7
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#204F8A
secondary
#B9894D
accent
#9D42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #204F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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