#204AA2#204AA2

#204AA2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.150 H 262.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#204AA2
RGBrgb(32, 74, 162)
HSLhsl(221, 67%, 38%)
HSVhsv(221, 80%, 64%)
CMYKcmyk(80.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.59, 18.82, -51.74)
CIE-LCHlch(33.59, 55.05, 289.98°)
OKLaboklab(43.4% -0.0192 -0.1492)
OKLCHoklch(43.4% 0.15 262.7)
XYZxyz(9.5637, 7.8121, 35.1793)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA2 #A27820
analogous
#208BA2 #204AA2 #3720A2
triadic
#204AA2 #A2204A #4AA220
tetradic
#204AA2 #A2208B #A27820 #20A237
square
#204AA2 #A2208B #A27820 #20A237
split-complementary
#204AA2 #A23720 #8BA220
monochromatic
#0C1B3C #16336F #204AA2 #2A61D5 #5D87DF

Accessibility & contrast

On white

8.19
#204AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204AA2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA2#FFFFFF#000000##FFFFFF
##204AA21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204aa2;
/* rgb */ color: rgb(32, 74, 162);
/* oklch */ color: oklch(43.4% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#717bbe',
    500: '#204aa2',
    950: '#000000',
  },
}
SCSS
$custom: #204aa2;
$custom-light: #717bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa2",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 220.615,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.15041,
    "h": 262.7
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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