#204CB3#204CB3

#204CB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.171 H 263.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#204CB3
RGBrgb(32, 76, 179)
HSLhsl(222, 70%, 41%)
HSVhsv(222, 82%, 70%)
CMYKcmyk(82.1%, 57.5%, 0%, 29.8%)
CIE-LABlab(35.46, 24.16, -58.84)
CIE-LCHlch(35.46, 63.60, 292.32°)
OKLaboklab(45.23% -0.0193 -0.17)
OKLCHoklch(45.23% 0.171 263.5)
XYZxyz(11.3139, 8.7293, 43.7277)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CB3 #B38720
analogous
#2096B3 #204CB3 #3E20B3
triadic
#204CB3 #B3204C #4CB320
tetradic
#204CB3 #B32096 #B38720 #20B33E
square
#204CB3 #B32096 #B38720 #20B33E
split-complementary
#204CB3 #B33E20 #96B320
monochromatic
#0D204B #17367F #204CB3 #3567DB #698EE4

Accessibility & contrast

On white

7.65
#204CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204CB3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CB3#FFFFFF#000000##FFFFFF
##204CB31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204cb3;
/* rgb */ color: rgb(32, 76, 179);
/* oklch */ color: oklch(45.2% 0.171 263.5);
Tailwind
colors: {
  custom: {
    50: '#757dcb',
    500: '#204cb3',
    950: '#000000',
  },
}
SCSS
$custom: #204cb3;
$custom-light: #757dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#204cb3",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 222.041,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.1711,
    "h": 263.5
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#204CB3
secondary
#CAAC65
accent
#B73BEC
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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