#204CA6#204CA6

#204CA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.153 H 262.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#204CA6
RGBrgb(32, 76, 166)
HSLhsl(220, 68%, 39%)
HSVhsv(220, 81%, 65%)
CMYKcmyk(80.7%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.45, 19.05, -52.74)
CIE-LCHlch(34.45, 56.07, 289.86°)
OKLaboklab(44.16% -0.0203 -0.1521)
OKLCHoklch(44.16% 0.153 262.4)
XYZxyz(10.0606, 8.2279, 37.1269)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CA6 #A67A20
analogous
#208FA6 #204CA6 #3720A6
triadic
#204CA6 #A6204C #4CA620
tetradic
#204CA6 #A6208F #A67A20 #20A637
square
#204CA6 #A6208F #A67A20 #20A637
split-complementary
#204CA6 #A63720 #8FA620
monochromatic
#0C1D3F #163573 #204CA6 #2D64D6 #608AE0

Accessibility & contrast

On white

7.94
#204CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#204CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CA6#FFFFFF#000000##FFFFFF
##204CA61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204ca6;
/* rgb */ color: rgb(32, 76, 166);
/* oklch */ color: oklch(44.2% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#727dc1',
    500: '#204ca6',
    950: '#000000',
  },
}
SCSS
$custom: #204ca6;
$custom-light: #727dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#204ca6",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 220.299,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.15343,
    "h": 262.4
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#204CA6
secondary
#C5A35D
accent
#B23DEB
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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