#204C8F#204C8F

#204C8F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.4% C 0.121 H 258.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#204C8F
RGBrgb(32, 76, 143)
HSLhsl(216, 63%, 34%)
HSVhsv(216, 78%, 56%)
CMYKcmyk(77.6%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.83, 9.89, -41.45)
CIE-LCHlch(32.83, 42.62, 283.42°)
OKLaboklab(42.39% -0.0235 -0.1189)
OKLCHoklch(42.39% 0.121 258.8)
XYZxyz(8.1362, 7.4582, 26.9920)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C8F #8F6320
analogous
#20848F #204C8F #2B208F
triadic
#204C8F #8F204C #4C8F20
tetradic
#204C8F #8F2084 #8F6320 #208F2B
square
#204C8F #8F2084 #8F6320 #208F2B
split-complementary
#204C8F #8F2B20 #848F20
monochromatic
#0A172B #15315D #204C8F #2B67C1 #5187D8

Accessibility & contrast

On white

8.43
#204C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204C8F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C8F#FFFFFF#000000##FFFFFF
##204C8F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#0F488E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204c8f;
/* rgb */ color: rgb(32, 76, 143);
/* oklch */ color: oklch(42.4% 0.121 258.8);
Tailwind
colors: {
  custom: {
    50: '#6c7db0',
    500: '#204c8f',
    950: '#000000',
  },
}
SCSS
$custom: #204c8f;
$custom-light: #6c7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#204c8f",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 216.216,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.12118,
    "h": 258.8
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#204C8F
secondary
#BB914F
accent
#A541E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #204C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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