#204CA2#204CA2

#204CA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.148 H 262.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#204CA2
RGBrgb(32, 76, 162)
HSLhsl(220, 67%, 38%)
HSVhsv(220, 80%, 64%)
CMYKcmyk(80.2%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.16, 17.46, -50.82)
CIE-LCHlch(34.16, 53.74, 288.96°)
OKLaboklab(43.84% -0.0207 -0.1464)
OKLCHoklch(43.84% 0.148 262)
XYZxyz(9.6993, 8.0835, 35.2245)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CA2 #A27620
analogous
#208DA2 #204CA2 #3520A2
triadic
#204CA2 #A2204C #4CA220
tetradic
#204CA2 #A2208D #A27620 #20A235
square
#204CA2 #A2208D #A27620 #20A235
split-complementary
#204CA2 #A23520 #8DA220
monochromatic
#0C1C3C #16346F #204CA2 #2A64D5 #5D89DF

Accessibility & contrast

On white

8.02
#204CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#204CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CA2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CA2#FFFFFF#000000##FFFFFF
##204CA21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204ca2;
/* rgb */ color: rgb(32, 76, 162);
/* oklch */ color: oklch(43.8% 0.148 262.0);
Tailwind
colors: {
  custom: {
    50: '#717dbe',
    500: '#204ca2',
    950: '#000000',
  },
}
SCSS
$custom: #204ca2;
$custom-light: #717dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#204ca2",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 219.692,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.1479,
    "h": 262
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#204CA2
secondary
#C3A05A
accent
#B03EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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