#204DB2#204DB2

#204DB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.169 H 263.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#204DB2
RGBrgb(32, 77, 178)
HSLhsl(222, 70%, 41%)
HSVhsv(222, 82%, 70%)
CMYKcmyk(82%, 56.7%, 0%, 30.2%)
CIE-LABlab(35.65, 23.10, -57.93)
CIE-LCHlch(35.65, 62.37, 291.74°)
OKLaboklab(45.35% -0.02 -0.1673)
OKLCHoklch(45.35% 0.169 263.2)
XYZxyz(11.2825, 8.8278, 43.2201)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DB2 #B28520
analogous
#2096B2 #204DB2 #3C20B2
triadic
#204DB2 #B2204D #4DB220
tetradic
#204DB2 #B22096 #B28520 #20B23C
square
#204DB2 #B22096 #B28520 #20B23C
split-complementary
#204DB2 #B23C20 #96B220
monochromatic
#0D204A #17377E #204DB2 #3568DB #688FE4

Accessibility & contrast

On white

7.59
#204DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#204DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204DB2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DB2#FFFFFF#000000##FFFFFF
##204DB21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204db2;
/* rgb */ color: rgb(32, 77, 178);
/* oklch */ color: oklch(45.4% 0.169 263.2);
Tailwind
colors: {
  custom: {
    50: '#757eca',
    500: '#204db2',
    950: '#000000',
  },
}
SCSS
$custom: #204db2;
$custom-light: #757eca;
$custom-dark: #000000;
JSON
{
  "hex": "#204db2",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 221.507,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.16852,
    "h": 263.2
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#204DB2
secondary
#CAAA64
accent
#B63BEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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