#204C8E#204C8E

#204C8E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.120 H 258.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#204C8E
RGBrgb(32, 76, 142)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 77%, 56%)
CMYKcmyk(77.5%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.76, 9.50, -40.95)
CIE-LCHlch(32.76, 42.03, 283.06°)
OKLaboklab(42.32% -0.0237 -0.1174)
OKLCHoklch(42.32% 0.12 258.6)
XYZxyz(8.0608, 7.4280, 26.5949)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8E #8E6220
analogous
#20838E #204C8E #2B208E
triadic
#204C8E #8E204C #4C8E20
tetradic
#204C8E #8E2083 #8E6220 #208E2B
square
#204C8E #8E2083 #8E6220 #208E2B
split-complementary
#204C8E #8E2B20 #838E20
monochromatic
#09172A #15315C #204C8E #2B67C0 #5187D8

Accessibility & contrast

On white

8.45
#204C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#204C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C8E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8E#FFFFFF#000000##FFFFFF
##204C8E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5291
Deuteranopia (green-blind)
#12488D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204c8e;
/* rgb */ color: rgb(32, 76, 142);
/* oklch */ color: oklch(42.3% 0.120 258.6);
Tailwind
colors: {
  custom: {
    50: '#6c7daf',
    500: '#204c8e',
    950: '#000000',
  },
}
SCSS
$custom: #204c8e;
$custom-light: #6c7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8e",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 216,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.11975,
    "h": 258.6
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#204C8E
secondary
#BB904F
accent
#A442E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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