#204CB4#204CB4

#204CB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.172 H 263.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#204CB4
RGBrgb(32, 76, 180)
HSLhsl(222, 70%, 42%)
HSVhsv(222, 82%, 71%)
CMYKcmyk(82.2%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.54, 24.55, -59.30)
CIE-LCHlch(35.54, 64.18, 292.49°)
OKLaboklab(45.32% -0.0192 -0.1714)
OKLCHoklch(45.32% 0.172 263.6)
XYZxyz(11.4154, 8.7699, 44.2623)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CB4 #B48820
analogous
#2096B4 #204CB4 #3E20B4
triadic
#204CB4 #B4204C #4CB420
tetradic
#204CB4 #B42096 #B48820 #20B43E
square
#204CB4 #B42096 #B48820 #20B43E
split-complementary
#204CB4 #B43E20 #96B420
monochromatic
#0E204C #173680 #204CB4 #3667DB #6A8EE4

Accessibility & contrast

On white

7.62
#204CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#204CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CB4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CB4#FFFFFF#000000##FFFFFF
##204CB41.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #204cb4;
/* rgb */ color: rgb(32, 76, 180);
/* oklch */ color: oklch(45.3% 0.172 263.6);
Tailwind
colors: {
  custom: {
    50: '#767dcb',
    500: '#204cb4',
    950: '#000000',
  },
}
SCSS
$custom: #204cb4;
$custom-light: #767dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#204cb4",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 222.162,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.17243,
    "h": 263.6
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#204CB4
secondary
#CAAC66
accent
#B83BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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