#204AA6#204AA6

#204AA6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.156 H 263.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#204AA6
RGBrgb(32, 74, 166)
HSLhsl(221, 68%, 39%)
HSVhsv(221, 81%, 65%)
CMYKcmyk(80.7%, 55.4%, 0%, 34.9%)
CIE-LABlab(33.89, 20.40, -53.65)
CIE-LCHlch(33.89, 57.39, 290.82°)
OKLaboklab(43.73% -0.0189 -0.1548)
OKLCHoklch(43.73% 0.156 263.1)
XYZxyz(9.9249, 7.9566, 37.0817)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AA6 #A67C20
analogous
#208DA6 #204AA6 #3920A6
triadic
#204AA6 #A6204A #4AA620
tetradic
#204AA6 #A6208D #A67C20 #20A639
square
#204AA6 #A6208D #A67C20 #20A639
split-complementary
#204AA6 #A63920 #8DA620
monochromatic
#0C1C3F #163373 #204AA6 #2D62D6 #6088E0

Accessibility & contrast

On white

8.10
#204AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204AA6
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AA6#FFFFFF#000000##FFFFFF
##204AA61.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204aa6;
/* rgb */ color: rgb(32, 74, 166);
/* oklch */ color: oklch(43.7% 0.156 263.1);
Tailwind
colors: {
  custom: {
    50: '#727bc1',
    500: '#204aa6',
    950: '#000000',
  },
}
SCSS
$custom: #204aa6;
$custom-light: #727bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#204aa6",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 221.194,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.15593,
    "h": 263.1
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#204AA6
secondary
#C5A45D
accent
#B43DEB
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #204AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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