#204F9A#204F9A

#204F9A is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.133 H 259.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#204F9A
RGBrgb(32, 79, 154)
HSLhsl(217, 66%, 36%)
HSVhsv(217, 79%, 60%)
CMYKcmyk(79.2%, 48.7%, 0%, 39.6%)
CIE-LABlab(34.46, 12.26, -45.51)
CIE-LCHlch(34.46, 47.13, 285.08°)
OKLaboklab(43.89% -0.0242 -0.1308)
OKLCHoklch(43.89% 0.133 259.5)
XYZxyz(9.2223, 8.2311, 31.6683)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F9A #9A6B20
analogous
#208C9A #204F9A #2E209A
triadic
#204F9A #9A204F #4F9A20
tetradic
#204F9A #9A208C #9A6B20 #209A2E
square
#204F9A #9A208C #9A6B20 #209A2E
split-complementary
#204F9A #9A2E20 #8C9A20
monochromatic
#0B1B35 #153567 #204F9A #2B69CD #588BDC

Accessibility & contrast

On white

7.94
#204F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#204F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F9A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F9A#FFFFFF#000000##FFFFFF
##204F9A1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204f9a;
/* rgb */ color: rgb(32, 79, 154);
/* oklch */ color: oklch(43.9% 0.133 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fb8',
    500: '#204f9a',
    950: '#000000',
  },
}
SCSS
$custom: #204f9a;
$custom-light: #6f7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#204f9a",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 216.885,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.13298,
    "h": 259.5
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#204F9A
secondary
#C09756
accent
#A73FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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