#204DC3#204DC3

#204DC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.191 H 264.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#204DC3
RGBrgb(32, 77, 195)
HSLhsl(223, 72%, 45%)
HSVhsv(223, 84%, 76%)
CMYKcmyk(83.6%, 60.5%, 0%, 23.5%)
CIE-LABlab(37.03, 29.68, -65.67)
CIE-LCHlch(37.03, 72.07, 294.32°)
OKLaboklab(46.81% -0.0192 -0.19)
OKLCHoklch(46.81% 0.191 264.2)
XYZxyz(13.0964, 9.5533, 52.7729)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DC3 #C39620
analogous
#209EC3 #204DC3 #4520C3
triadic
#204DC3 #C3204D #4DC320
tetradic
#204DC3 #C3209E #C39620 #20C345
square
#204DC3 #C3209E #C39620 #20C345
split-complementary
#204DC3 #C34520 #9EC320
monochromatic
#0F235A #17388E #204DC3 #406CE0 #7595E8

Accessibility & contrast

On white

7.21
#204DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#204DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204DC3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DC3#FFFFFF#000000##FFFFFF
##204DC31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #204dc3;
/* rgb */ color: rgb(32, 77, 195);
/* oklch */ color: oklch(46.8% 0.191 264.2);
Tailwind
colors: {
  custom: {
    50: '#797ed6',
    500: '#204dc3',
    950: '#000000',
  },
}
SCSS
$custom: #204dc3;
$custom-light: #797ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#204dc3",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 223.436,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.19102,
    "h": 264.2
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#204DC3
secondary
#CFB56F
accent
#BC39EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #204DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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