#204AA3#204AA3

#204AA3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.152 H 262.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#204AA3
RGBrgb(32, 74, 163)
HSLhsl(221, 67%, 38%)
HSVhsv(221, 80%, 64%)
CMYKcmyk(80.4%, 54.6%, 0%, 36.1%)
CIE-LABlab(33.66, 19.21, -52.22)
CIE-LCHlch(33.66, 55.64, 290.20°)
OKLaboklab(43.49% -0.0191 -0.1506)
OKLCHoklch(43.49% 0.152 262.8)
XYZxyz(9.6529, 7.8478, 35.6493)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA3 #A37920
analogous
#208BA3 #204AA3 #3720A3
triadic
#204AA3 #A3204A #4AA320
tetradic
#204AA3 #A3208B #A37920 #20A337
square
#204AA3 #A3208B #A37920 #20A337
split-complementary
#204AA3 #A33720 #8BA320
monochromatic
#0C1C3D #163370 #204AA3 #2B62D5 #5E87DF

Accessibility & contrast

On white

8.17
#204AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#204AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AA3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA3#FFFFFF#000000##FFFFFF
##204AA31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204aa3;
/* rgb */ color: rgb(32, 74, 163);
/* oklch */ color: oklch(43.5% 0.152 262.8);
Tailwind
colors: {
  custom: {
    50: '#717bbf',
    500: '#204aa3',
    950: '#000000',
  },
}
SCSS
$custom: #204aa3;
$custom-light: #717bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa3",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 220.763,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.1518,
    "h": 262.8
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#204AA3
secondary
#C4A25B
accent
#B33EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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