#204B9B#204B9B

#204B9B is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.139 H 261.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#204B9B
RGBrgb(32, 75, 155)
HSLhsl(219, 66%, 37%)
HSVhsv(219, 79%, 61%)
CMYKcmyk(79.4%, 51.6%, 0%, 39.2%)
CIE-LABlab(33.36, 15.36, -47.89)
CIE-LCHlch(33.36, 50.29, 287.78°)
OKLaboklab(43.07% -0.0208 -0.1378)
OKLCHoklch(43.07% 0.139 261.4)
XYZxyz(9.0260, 7.7047, 32.0154)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204B9B #9B7020
analogous
#20899B #204B9B #32209B
triadic
#204B9B #9B204B #4B9B20
tetradic
#204B9B #9B2089 #9B7020 #209B32
square
#204B9B #9B2089 #9B7020 #209B32
split-complementary
#204B9B #9B3220 #899B20
monochromatic
#0B1A36 #163268 #204B9B #2A64CE #5987DD

Accessibility & contrast

On white

8.26
#204B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#204B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204B9B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204B9B#FFFFFF#000000##FFFFFF
##204B9B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204b9b;
/* rgb */ color: rgb(32, 75, 155);
/* oklch */ color: oklch(43.1% 0.139 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7cb9',
    500: '#204b9b',
    950: '#000000',
  },
}
SCSS
$custom: #204b9b;
$custom-light: #6f7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#204b9b",
  "rgb": {
    "r": 32,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 219.024,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.13939,
    "h": 261.4
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#204B9B
secondary
#C19B56
accent
#AD3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #204B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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