#204CC8#204CC8

#204CC8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.199 H 264.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#204CC8
RGBrgb(32, 76, 200)
HSLhsl(224, 72%, 45%)
HSVhsv(224, 84%, 78%)
CMYKcmyk(84%, 62%, 0%, 21.6%)
CIE-LABlab(37.20, 32.23, -68.31)
CIE-LCHlch(37.20, 75.53, 295.26°)
OKLaboklab(47.07% -0.0186 -0.1978)
OKLCHoklch(47.07% 0.199 264.6)
XYZxyz(13.6017, 9.6444, 55.7771)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CC8 #C89C20
analogous
#20A0C8 #204CC8 #4820C8
triadic
#204CC8 #C8204C #4CC820
tetradic
#204CC8 #C820A0 #C89C20 #20C848
square
#204CC8 #C820A0 #C89C20 #20C848
split-complementary
#204CC8 #C84820 #A0C820
monochromatic
#0F245E #183893 #204CC8 #446DE1 #7996EA

Accessibility & contrast

On white

7.17
#204CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#204CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CC8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CC8#FFFFFF#000000##FFFFFF
##204CC81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #204cc8;
/* rgb */ color: rgb(32, 76, 200);
/* oklch */ color: oklch(47.1% 0.199 264.6);
Tailwind
colors: {
  custom: {
    50: '#7b7dda',
    500: '#204cc8',
    950: '#000000',
  },
}
SCSS
$custom: #204cc8;
$custom-light: #7b7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#204cc8",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 224.286,
    "s": 72.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.19865,
    "h": 264.6
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#204CC8
secondary
#D1B873
accent
#BF39EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #204CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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