#204CC3#204CC3

#204CC3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.192 H 264.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#204CC3
RGBrgb(32, 76, 195)
HSLhsl(224, 72%, 45%)
HSVhsv(224, 84%, 76%)
CMYKcmyk(83.6%, 61%, 0%, 23.5%)
CIE-LABlab(36.77, 30.33, -66.10)
CIE-LCHlch(36.77, 72.72, 294.65°)
OKLaboklab(46.62% -0.0186 -0.1913)
OKLCHoklch(46.62% 0.192 264.4)
XYZxyz(13.0269, 9.4145, 52.7498)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CC3 #C39720
analogous
#209DC3 #204CC3 #4620C3
triadic
#204CC3 #C3204C #4CC320
tetradic
#204CC3 #C3209D #C39720 #20C346
square
#204CC3 #C3209D #C39720 #20C346
split-complementary
#204CC3 #C34620 #9DC320
monochromatic
#0F235A #17388E #204CC3 #406BE0 #7594E8

Accessibility & contrast

On white

7.28
#204CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#204CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CC3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CC3#FFFFFF#000000##FFFFFF
##204CC31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #204cc3;
/* rgb */ color: rgb(32, 76, 195);
/* oklch */ color: oklch(46.6% 0.192 264.4);
Tailwind
colors: {
  custom: {
    50: '#797dd6',
    500: '#204cc3',
    950: '#000000',
  },
}
SCSS
$custom: #204cc3;
$custom-light: #797dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#204cc3",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 223.804,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.19221,
    "h": 264.4
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#204CC3
secondary
#CFB66F
accent
#BE39EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #204CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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