#204CA1#204CA1

#204CA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.147 H 261.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#204CA1
RGBrgb(32, 76, 161)
HSLhsl(220, 67%, 38%)
HSVhsv(220, 80%, 63%)
CMYKcmyk(80.1%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.08, 17.07, -50.34)
CIE-LCHlch(34.08, 53.15, 288.73°)
OKLaboklab(43.76% -0.0208 -0.145)
OKLCHoklch(43.76% 0.147 261.8)
XYZxyz(9.6108, 8.0480, 34.7582)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CA1 #A17520
analogous
#208CA1 #204CA1 #3520A1
triadic
#204CA1 #A1204C #4CA120
tetradic
#204CA1 #A1208C #A17520 #20A135
square
#204CA1 #A1208C #A17520 #20A135
split-complementary
#204CA1 #A13520 #8CA120
monochromatic
#0C1C3B #16346E #204CA1 #2A64D4 #5D89DF

Accessibility & contrast

On white

8.05
#204CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#204CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CA1
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CA1#FFFFFF#000000##FFFFFF
##204CA11.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204ca1;
/* rgb */ color: rgb(32, 76, 161);
/* oklch */ color: oklch(43.8% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#717dbd',
    500: '#204ca1',
    950: '#000000',
  },
}
SCSS
$custom: #204ca1;
$custom-light: #717dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#204ca1",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 219.535,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.14651,
    "h": 261.8
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#204CA1
secondary
#C39F5A
accent
#AF3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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