#204E8A#204E8A

#204E8A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.112 H 256.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#204E8A
RGBrgb(32, 78, 138)
HSLhsl(214, 62%, 33%)
HSVhsv(214, 77%, 54%)
CMYKcmyk(76.8%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.11, 6.56, -37.93)
CIE-LCHlch(33.11, 38.50, 279.81°)
OKLaboklab(42.51% -0.0264 -0.1085)
OKLCHoklch(42.51% 0.112 256.3)
XYZxyz(7.9058, 7.5899, 25.0882)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E8A #8A5C20
analogous
#20838A #204E8A #27208A
triadic
#204E8A #8A204E #4E8A20
tetradic
#204E8A #8A2083 #8A5C20 #208A27
square
#204E8A #8A2083 #8A5C20 #208A27
split-complementary
#204E8A #8A2720 #838A20
monochromatic
#091627 #143258 #204E8A #2C6ABC #4E89D6

Accessibility & contrast

On white

8.34
#204E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E8A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E8A#FFFFFF#000000##FFFFFF
##204E8A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204e8a;
/* rgb */ color: rgb(32, 78, 138);
/* oklch */ color: oklch(42.5% 0.112 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7fac',
    500: '#204e8a',
    950: '#000000',
  },
}
SCSS
$custom: #204e8a;
$custom-light: #6b7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#204e8a",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 213.962,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42512,
    "c": 0.11165,
    "h": 256.3
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#204E8A
secondary
#B98A4D
accent
#9F42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #204E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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