#204DBB#204DBB

#204DBB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.181 H 263.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#204DBB
RGBrgb(32, 77, 187)
HSLhsl(223, 71%, 43%)
HSVhsv(223, 83%, 73%)
CMYKcmyk(82.9%, 58.8%, 0%, 26.7%)
CIE-LABlab(36.37, 26.60, -62.07)
CIE-LCHlch(36.37, 67.53, 293.20°)
OKLaboklab(46.12% -0.0195 -0.1795)
OKLCHoklch(46.12% 0.181 263.8)
XYZxyz(12.2160, 9.2012, 48.1362)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204DBB #BB8E20
analogous
#209ABB #204DBB #4120BB
triadic
#204DBB #BB204D #4DBB20
tetradic
#204DBB #BB209A #BB8E20 #20BB41
square
#204DBB #BB209A #BB8E20 #20BB41
split-complementary
#204DBB #BB4120 #9ABB20
monochromatic
#0E2252 #173787 #204DBB #3B6ADD #6F92E6

Accessibility & contrast

On white

7.39
#204DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#204DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204DBB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204DBB#FFFFFF#000000##FFFFFF
##204DBB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #204dbb;
/* rgb */ color: rgb(32, 77, 187);
/* oklch */ color: oklch(46.1% 0.181 263.8);
Tailwind
colors: {
  custom: {
    50: '#777ed0',
    500: '#204dbb',
    950: '#000000',
  },
}
SCSS
$custom: #204dbb;
$custom-light: #777ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#204dbb",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 222.581,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.18052,
    "h": 263.8
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#204DBB
secondary
#CDB06A
accent
#B93AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #204DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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