#204CB2#204CB2

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

Color values

HEX#204CB2
RGBrgb(32, 76, 178)
HSLhsl(222, 70%, 41%)
HSVhsv(222, 82%, 70%)
CMYKcmyk(82%, 57.3%, 0%, 30.2%)
CIE-LABlab(35.38, 23.77, -58.37)
CIE-LCHlch(35.38, 63.03, 292.15°)
OKLaboklab(45.15% -0.0193 -0.1686)
OKLCHoklch(45.15% 0.17 263.5)
XYZxyz(11.2131, 8.6890, 43.1970)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204CB2 #B28620
analogous
#2095B2 #204CB2 #3D20B2
triadic
#204CB2 #B2204C #4CB220
tetradic
#204CB2 #B22095 #B28620 #20B23D
square
#204CB2 #B22095 #B28620 #20B23D
split-complementary
#204CB2 #B23D20 #95B220
monochromatic
#0D204A #17367E #204CB2 #3567DB #688EE4

Accessibility & contrast

On white

7.67
#204CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#204CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204CB2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204CB2#FFFFFF#000000##FFFFFF
##204CB21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #204cb2;
/* rgb */ color: rgb(32, 76, 178);
/* oklch */ color: oklch(45.1% 0.170 263.5);
Tailwind
colors: {
  custom: {
    50: '#757dca',
    500: '#204cb2',
    950: '#000000',
  },
}
SCSS
$custom: #204cb2;
$custom-light: #757dca;
$custom-dark: #000000;
JSON
{
  "hex": "#204cb2",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 221.918,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.16975,
    "h": 263.5
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#204CB2
secondary
#CAAB64
accent
#B73BEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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