#204E9C#204E9C

#204E9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.137 H 260.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#204E9C
RGBrgb(32, 78, 156)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 79%, 61%)
CMYKcmyk(79.5%, 50%, 0%, 38.8%)
CIE-LABlab(34.30, 13.73, -46.97)
CIE-LCHlch(34.30, 48.93, 286.29°)
OKLaboklab(43.81% -0.0231 -0.1351)
OKLCHoklch(43.81% 0.137 260.3)
XYZxyz(9.3186, 8.1551, 32.5290)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E9C #9C6E20
analogous
#208C9C #204E9C #30209C
triadic
#204E9C #9C204E #4E9C20
tetradic
#204E9C #9C208C #9C6E20 #209C30
square
#204E9C #9C208C #9C6E20 #209C30
split-complementary
#204E9C #9C3020 #8C9C20
monochromatic
#0B1B36 #163569 #204E9C #2A67CF #598ADD

Accessibility & contrast

On white

7.98
#204E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#204E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E9C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E9C#FFFFFF#000000##FFFFFF
##204E9C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204e9c;
/* rgb */ color: rgb(32, 78, 156);
/* oklch */ color: oklch(43.8% 0.137 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7fba',
    500: '#204e9c',
    950: '#000000',
  },
}
SCSS
$custom: #204e9c;
$custom-light: #6f7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#204e9c",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 217.742,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.13702,
    "h": 260.3
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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