#204BBB#204BBB

#204BBB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.183 H 264.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#204BBB
RGBrgb(32, 75, 187)
HSLhsl(223, 71%, 43%)
HSVhsv(223, 83%, 73%)
CMYKcmyk(82.9%, 59.9%, 0%, 26.7%)
CIE-LABlab(35.84, 27.93, -62.93)
CIE-LCHlch(35.84, 68.85, 293.93°)
OKLaboklab(45.72% -0.0183 -0.182)
OKLCHoklch(45.72% 0.183 264.3)
XYZxyz(12.0782, 8.9256, 48.0903)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204BBB #BB9020
analogous
#2098BB #204BBB #4320BB
triadic
#204BBB #BB204B #4BBB20
tetradic
#204BBB #BB2098 #BB9020 #20BB43
square
#204BBB #BB2098 #BB9020 #20BB43
split-complementary
#204BBB #BB4320 #98BB20
monochromatic
#0E2152 #173687 #204BBB #3B68DD #6F90E6

Accessibility & contrast

On white

7.54
#204BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#204BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204BBB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204BBB#FFFFFF#000000##FFFFFF
##204BBB1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #204bbb;
/* rgb */ color: rgb(32, 75, 187);
/* oklch */ color: oklch(45.7% 0.183 264.3);
Tailwind
colors: {
  custom: {
    50: '#777cd0',
    500: '#204bbb',
    950: '#000000',
  },
}
SCSS
$custom: #204bbb;
$custom-light: #777cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#204bbb",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 223.355,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.18295,
    "h": 264.3
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#204BBB
secondary
#CDB16A
accent
#BC3AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #204BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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