#204DB3#204DB3

#204DB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.170 H 263.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#204DB3
RGBrgb(32, 77, 179)
HSLhsl(222, 70%, 41%)
HSVhsv(222, 82%, 70%)
CMYKcmyk(82.1%, 57%, 0%, 29.8%)
CIE-LABlab(35.73, 23.49, -58.40)
CIE-LCHlch(35.73, 62.94, 291.91°)
OKLaboklab(45.43% -0.0199 -0.1687)
OKLCHoklch(45.43% 0.17 263.3)
XYZxyz(11.3833, 8.8681, 43.7508)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DB3 #B38620
analogous
#2097B3 #204DB3 #3D20B3
triadic
#204DB3 #B3204D #4DB320
tetradic
#204DB3 #B32097 #B38620 #20B33D
square
#204DB3 #B32097 #B38620 #20B33D
split-complementary
#204DB3 #B33D20 #97B320
monochromatic
#0D204B #17377F #204DB3 #3568DB #698FE4

Accessibility & contrast

On white

7.57
#204DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204DB3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DB3#FFFFFF#000000##FFFFFF
##204DB31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #204db3;
/* rgb */ color: rgb(32, 77, 179);
/* oklch */ color: oklch(45.4% 0.170 263.3);
Tailwind
colors: {
  custom: {
    50: '#757ecb',
    500: '#204db3',
    950: '#000000',
  },
}
SCSS
$custom: #204db3;
$custom-light: #757ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#204db3",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 221.633,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.16986,
    "h": 263.3
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#204DB3
secondary
#CAAB65
accent
#B63BEC
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #204DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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