#204DC8#204DC8

#204DC8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.197 H 264.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#204DC8
RGBrgb(32, 77, 200)
HSLhsl(224, 72%, 45%)
HSVhsv(224, 84%, 78%)
CMYKcmyk(84%, 61.5%, 0%, 21.6%)
CIE-LABlab(37.45, 31.58, -67.89)
CIE-LCHlch(37.45, 74.88, 294.95°)
OKLaboklab(47.26% -0.0191 -0.1965)
OKLCHoklch(47.26% 0.197 264.4)
XYZxyz(13.6712, 9.7833, 55.8002)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DC8 #C89B20
analogous
#20A1C8 #204DC8 #4720C8
triadic
#204DC8 #C8204D #4DC820
tetradic
#204DC8 #C820A1 #C89B20 #20C847
square
#204DC8 #C820A1 #C89B20 #20C847
split-complementary
#204DC8 #C84720 #A1C820
monochromatic
#0F245E #183993 #204DC8 #446EE1 #7997EA

Accessibility & contrast

On white

7.10
#204DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#204DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204DC8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DC8#FFFFFF#000000##FFFFFF
##204DC81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204dc8;
/* rgb */ color: rgb(32, 77, 200);
/* oklch */ color: oklch(47.3% 0.197 264.4);
Tailwind
colors: {
  custom: {
    50: '#7b7eda',
    500: '#204dc8',
    950: '#000000',
  },
}
SCSS
$custom: #204dc8;
$custom-light: #7b7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#204dc8",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 223.929,
    "s": 72.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.19748,
    "h": 264.4
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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