#204C8B#204C8B

#204C8B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.115 H 257.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#204C8B
RGBrgb(32, 76, 139)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 55%)
CMYKcmyk(77%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.57, 8.30, -39.42)
CIE-LCHlch(32.57, 40.29, 281.89°)
OKLaboklab(42.11% -0.0243 -0.1129)
OKLCHoklch(42.11% 0.115 257.8)
XYZxyz(7.8386, 7.3392, 25.4246)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8B #8B5F20
analogous
#20818B #204C8B #29208B
triadic
#204C8B #8B204C #4C8B20
tetradic
#204C8B #8B2081 #8B5F20 #208B29
square
#204C8B #8B2081 #8B5F20 #208B29
split-complementary
#204C8B #8B2920 #818B20
monochromatic
#091628 #153159 #204C8B #2B67BD #4F87D6

Accessibility & contrast

On white

8.51
#204C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204C8B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8B#FFFFFF#000000##FFFFFF
##204C8B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#17488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204c8b;
/* rgb */ color: rgb(32, 76, 139);
/* oklch */ color: oklch(42.1% 0.115 257.8);
Tailwind
colors: {
  custom: {
    50: '#6b7dad',
    500: '#204c8b',
    950: '#000000',
  },
}
SCSS
$custom: #204c8b;
$custom-light: #6b7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8b",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 215.327,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.11549,
    "h": 257.8
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#204C8B
secondary
#BA8D4D
accent
#A242E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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