#204C8C#204C8C

#204C8C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.117 H 258.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#204C8C
RGBrgb(32, 76, 140)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 77%, 55%)
CMYKcmyk(77.1%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.63, 8.70, -39.93)
CIE-LCHlch(32.63, 40.87, 282.29°)
OKLaboklab(42.18% -0.0241 -0.1144)
OKLCHoklch(42.18% 0.117 258.1)
XYZxyz(7.9120, 7.3685, 25.8111)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8C #8C6020
analogous
#20828C #204C8C #2A208C
triadic
#204C8C #8C204C #4C8C20
tetradic
#204C8C #8C2082 #8C6020 #208C2A
square
#204C8C #8C2082 #8C6020 #208C2A
split-complementary
#204C8C #8C2A20 #828C20
monochromatic
#091628 #15315A #204C8C #2B67BE #5087D7

Accessibility & contrast

On white

8.49
#204C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#204C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C8C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8C#FFFFFF#000000##FFFFFF
##204C8C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204c8c;
/* rgb */ color: rgb(32, 76, 140);
/* oklch */ color: oklch(42.2% 0.117 258.1);
Tailwind
colors: {
  custom: {
    50: '#6c7dae',
    500: '#204c8c',
    950: '#000000',
  },
}
SCSS
$custom: #204c8c;
$custom-light: #6c7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8c",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 215.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.11691,
    "h": 258.1
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#204C8C
secondary
#BA8E4E
accent
#A342E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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