#204F9C#204F9C

#204F9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.136 H 259.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#204F9C
RGBrgb(32, 79, 156)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 79%, 61%)
CMYKcmyk(79.5%, 49.4%, 0%, 38.8%)
CIE-LABlab(34.60, 13.06, -46.50)
CIE-LCHlch(34.60, 48.30, 285.68°)
OKLaboklab(44.04% -0.0239 -0.1337)
OKLCHoklch(44.04% 0.136 259.9)
XYZxyz(9.3902, 8.2982, 32.5529)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F9C #9C6D20
analogous
#208D9C #204F9C #2F209C
triadic
#204F9C #9C204F #4F9C20
tetradic
#204F9C #9C208D #9C6D20 #209C2F
square
#204F9C #9C208D #9C6D20 #209C2F
split-complementary
#204F9C #9C2F20 #8D9C20
monochromatic
#0B1C36 #163569 #204F9C #2A69CF #598BDD

Accessibility & contrast

On white

7.90
#204F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#204F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F9C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F9C#FFFFFF#000000##FFFFFF
##204F9C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204f9c;
/* rgb */ color: rgb(32, 79, 156);
/* oklch */ color: oklch(44.0% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fba',
    500: '#204f9c',
    950: '#000000',
  },
}
SCSS
$custom: #204f9c;
$custom-light: #6f7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#204f9c",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 217.258,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44036,
    "c": 0.13577,
    "h": 259.9
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#204F9C
secondary
#C19957
accent
#A83FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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