#204E8E#204E8E

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

Color values

HEX#204E8E
RGBrgb(32, 78, 142)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 56%)
CMYKcmyk(77.5%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.37, 8.15, -39.98)
CIE-LCHlch(33.37, 40.80, 281.52°)
OKLaboklab(42.79% -0.0255 -0.1145)
OKLCHoklch(42.79% 0.117 257.4)
XYZxyz(8.2007, 7.7079, 26.6415)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E8E #8E6020
analogous
#20858E #204E8E #29208E
triadic
#204E8E #8E204E #4E8E20
tetradic
#204E8E #8E2085 #8E6020 #208E29
square
#204E8E #8E2085 #8E6020 #208E29
split-complementary
#204E8E #8E2920 #858E20
monochromatic
#09172A #15335C #204E8E #2B69C0 #5189D8

Accessibility & contrast

On white

8.26
#204E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E8E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E8E#FFFFFF#000000##FFFFFF
##204E8E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204e8e;
/* rgb */ color: rgb(32, 78, 142);
/* oklch */ color: oklch(42.8% 0.117 257.4);
Tailwind
colors: {
  custom: {
    50: '#6c7faf',
    500: '#204e8e',
    950: '#000000',
  },
}
SCSS
$custom: #204e8e;
$custom-light: #6c7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#204e8e",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 214.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.1173,
    "h": 257.4
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#204E8E
secondary
#BB8E4F
accent
#A142E6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #204E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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