#204AA1#204AA1

#204AA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.149 H 262.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#204AA1
RGBrgb(32, 74, 161)
HSLhsl(220, 67%, 38%)
HSVhsv(220, 80%, 63%)
CMYKcmyk(80.1%, 54%, 0%, 36.9%)
CIE-LABlab(33.51, 18.42, -51.26)
CIE-LCHlch(33.51, 54.47, 289.76°)
OKLaboklab(43.32% -0.0193 -0.1478)
OKLCHoklch(43.32% 0.149 262.5)
XYZxyz(9.4752, 7.7767, 34.7130)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA1 #A17720
analogous
#208AA1 #204AA1 #3620A1
triadic
#204AA1 #A1204A #4AA120
tetradic
#204AA1 #A1208A #A17720 #20A136
square
#204AA1 #A1208A #A17720 #20A136
split-complementary
#204AA1 #A13620 #8AA120
monochromatic
#0C1B3B #16336E #204AA1 #2A61D4 #5D87DF

Accessibility & contrast

On white

8.22
#204AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#204AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AA1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA1#FFFFFF#000000##FFFFFF
##204AA11.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204aa1;
/* rgb */ color: rgb(32, 74, 161);
/* oklch */ color: oklch(43.3% 0.149 262.5);
Tailwind
colors: {
  custom: {
    50: '#717bbd',
    500: '#204aa1',
    950: '#000000',
  },
}
SCSS
$custom: #204aa1;
$custom-light: #717bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa1",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 220.465,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.14903,
    "h": 262.5
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#204AA1
secondary
#C3A15A
accent
#B23EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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