#204BA2#204BA2

#204BA2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.149 H 262.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#204BA2
RGBrgb(32, 75, 162)
HSLhsl(220, 67%, 38%)
HSVhsv(220, 80%, 64%)
CMYKcmyk(80.2%, 53.7%, 0%, 36.5%)
CIE-LABlab(33.87, 18.14, -51.28)
CIE-LCHlch(33.87, 54.39, 289.48°)
OKLaboklab(43.62% -0.02 -0.1478)
OKLCHoklch(43.62% 0.149 262.3)
XYZxyz(9.6310, 7.9467, 35.2017)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204BA2 #A27720
analogous
#208CA2 #204BA2 #3620A2
triadic
#204BA2 #A2204B #4BA220
tetradic
#204BA2 #A2208C #A27720 #20A236
square
#204BA2 #A2208C #A27720 #20A236
split-complementary
#204BA2 #A23620 #8CA220
monochromatic
#0C1C3C #16336F #204BA2 #2A63D5 #5D88DF

Accessibility & contrast

On white

8.11
#204BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#204BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204BA2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204BA2#FFFFFF#000000##FFFFFF
##204BA21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204ba2;
/* rgb */ color: rgb(32, 75, 162);
/* oklch */ color: oklch(43.6% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#717cbe',
    500: '#204ba2',
    950: '#000000',
  },
}
SCSS
$custom: #204ba2;
$custom-light: #717cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#204ba2",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 220.154,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.14915,
    "h": 262.3
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#204BA2
secondary
#C3A15A
accent
#B13EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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