#204AC3#204AC3

#204AC3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.195 H 264.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#204AC3
RGBrgb(32, 74, 195)
HSLhsl(225, 72%, 45%)
HSVhsv(225, 84%, 76%)
CMYKcmyk(83.6%, 62.1%, 0%, 23.5%)
CIE-LABlab(36.26, 31.64, -66.93)
CIE-LCHlch(36.26, 74.04, 295.30°)
OKLaboklab(46.24% -0.0176 -0.1938)
OKLCHoklch(46.24% 0.195 264.8)
XYZxyz(12.8913, 9.1432, 52.7045)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204AC3 #C39920
analogous
#209CC3 #204AC3 #4820C3
triadic
#204AC3 #C3204A #4AC320
tetradic
#204AC3 #C3209C #C39920 #20C348
square
#204AC3 #C3209C #C39920 #20C348
split-complementary
#204AC3 #C34820 #9CC320
monochromatic
#0F225A #17368E #204AC3 #406AE0 #7593E8

Accessibility & contrast

On white

7.42
#204AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#204AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204AC3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204AC3#FFFFFF#000000##FFFFFF
##204AC31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #204ac3;
/* rgb */ color: rgb(32, 74, 195);
/* oklch */ color: oklch(46.2% 0.195 264.8);
Tailwind
colors: {
  custom: {
    50: '#7a7cd6',
    500: '#204ac3',
    950: '#000000',
  },
}
SCSS
$custom: #204ac3;
$custom-light: #7a7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#204ac3",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 224.54,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.19458,
    "h": 264.8
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#204AC3
secondary
#CFB76F
accent
#C039EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #204AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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