#204C8A#204C8A

#204C8A is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.114 H 257.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#204C8A
RGBrgb(32, 76, 138)
HSLhsl(215, 62%, 33%)
HSVhsv(215, 77%, 54%)
CMYKcmyk(76.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.50, 7.90, -38.91)
CIE-LCHlch(32.50, 39.70, 281.48°)
OKLaboklab(42.04% -0.0245 -0.1114)
OKLCHoklch(42.04% 0.114 257.6)
XYZxyz(7.7659, 7.3101, 25.0415)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8A #8A5E20
analogous
#20818A #204C8A #29208A
triadic
#204C8A #8A204C #4C8A20
tetradic
#204C8A #8A2081 #8A5E20 #208A29
square
#204C8A #8A2081 #8A5E20 #208A29
split-complementary
#204C8A #8A2920 #818A20
monochromatic
#091527 #143158 #204C8A #2C67BC #4E87D6

Accessibility & contrast

On white

8.53
#204C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#204C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C8A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8A#FFFFFF#000000##FFFFFF
##204C8A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204c8a;
/* rgb */ color: rgb(32, 76, 138);
/* oklch */ color: oklch(42.0% 0.114 257.6);
Tailwind
colors: {
  custom: {
    50: '#6b7dac',
    500: '#204c8a',
    950: '#000000',
  },
}
SCSS
$custom: #204c8a;
$custom-light: #6b7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8a",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 215.094,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.11407,
    "h": 257.6
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#204C8A
secondary
#B98C4D
accent
#A242E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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