#204FC3#204FC3

#204FC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.189 H 263.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#204FC3
RGBrgb(32, 79, 195)
HSLhsl(223, 72%, 45%)
HSVhsv(223, 84%, 76%)
CMYKcmyk(83.6%, 59.5%, 0%, 23.5%)
CIE-LABlab(37.55, 28.37, -64.82)
CIE-LCHlch(37.55, 70.76, 293.63°)
OKLaboklab(47.2% -0.0203 -0.1875)
OKLCHoklch(47.2% 0.189 263.8)
XYZxyz(13.2385, 9.8375, 52.8203)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FC3 #C39420
analogous
#20A1C3 #204FC3 #4220C3
triadic
#204FC3 #C3204F #4FC320
tetradic
#204FC3 #C320A1 #C39420 #20C342
square
#204FC3 #C320A1 #C39420 #20C342
split-complementary
#204FC3 #C34220 #A1C320
monochromatic
#0F245A #173A8E #204FC3 #406EE0 #7596E8

Accessibility & contrast

On white

7.08
#204FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#204FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FC3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FC3#FFFFFF#000000##FFFFFF
##204FC31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #204fc3;
/* rgb */ color: rgb(32, 79, 195);
/* oklch */ color: oklch(47.2% 0.189 263.8);
Tailwind
colors: {
  custom: {
    50: '#797fd6',
    500: '#204fc3',
    950: '#000000',
  },
}
SCSS
$custom: #204fc3;
$custom-light: #797fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#204fc3",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 222.699,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.18861,
    "h": 263.8
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#204FC3
secondary
#CFB46F
accent
#BA39EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #204FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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