#204F9D#204F9D

#204F9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.137 H 260.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#204F9D
RGBrgb(32, 79, 157)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 80%, 62%)
CMYKcmyk(79.6%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.67, 13.45, -46.99)
CIE-LCHlch(34.67, 48.88, 285.98°)
OKLaboklab(44.11% -0.0237 -0.1351)
OKLCHoklch(44.11% 0.137 260)
XYZxyz(9.4752, 8.3323, 33.0007)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F9D #9D6E20
analogous
#208E9D #204F9D #2F209D
triadic
#204F9D #9D204F #4F9D20
tetradic
#204F9D #9D208E #9D6E20 #209D2F
square
#204F9D #9D208E #9D6E20 #209D2F
split-complementary
#204F9D #9D2F20 #8E9D20
monochromatic
#0B1C37 #16356A #204F9D #2A69D0 #5A8BDD

Accessibility & contrast

On white

7.88
#204F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#204F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F9D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F9D#FFFFFF#000000##FFFFFF
##204F9D1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #204f9d;
/* rgb */ color: rgb(32, 79, 157);
/* oklch */ color: oklch(44.1% 0.137 260.0);
Tailwind
colors: {
  custom: {
    50: '#707fba',
    500: '#204f9d',
    950: '#000000',
  },
}
SCSS
$custom: #204f9d;
$custom-light: #707fba;
$custom-dark: #000000;
JSON
{
  "hex": "#204f9d",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 217.44,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.13718,
    "h": 260
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#204F9D
secondary
#C19A57
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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