#204CBB#204CBB

#204CBB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.182 H 264.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#204CBB
RGBrgb(32, 76, 187)
HSLhsl(223, 71%, 43%)
HSVhsv(223, 83%, 73%)
CMYKcmyk(82.9%, 59.4%, 0%, 26.7%)
CIE-LABlab(36.10, 27.26, -62.50)
CIE-LCHlch(36.10, 68.19, 293.57°)
OKLaboklab(45.92% -0.0189 -0.1808)
OKLCHoklch(45.92% 0.182 264)
XYZxyz(12.1465, 9.0623, 48.1131)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CBB #BB8F20
analogous
#2099BB #204CBB #4220BB
triadic
#204CBB #BB204C #4CBB20
tetradic
#204CBB #BB2099 #BB8F20 #20BB42
square
#204CBB #BB2099 #BB8F20 #20BB42
split-complementary
#204CBB #BB4220 #99BB20
monochromatic
#0E2252 #173787 #204CBB #3B69DD #6F91E6

Accessibility & contrast

On white

7.47
#204CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#204CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CBB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CBB#FFFFFF#000000##FFFFFF
##204CBB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #204cbb;
/* rgb */ color: rgb(32, 76, 187);
/* oklch */ color: oklch(45.9% 0.182 264.0);
Tailwind
colors: {
  custom: {
    50: '#777dd0',
    500: '#204cbb',
    950: '#000000',
  },
}
SCSS
$custom: #204cbb;
$custom-light: #777dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#204cbb",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 222.968,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.18174,
    "h": 264
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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