#204E9F#204E9F

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

Color values

HEX#204E9F
RGBrgb(32, 78, 159)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 80%, 62%)
CMYKcmyk(79.9%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.51, 14.92, -48.44)
CIE-LCHlch(34.51, 50.68, 287.12°)
OKLaboklab(44.04% -0.0226 -0.1394)
OKLCHoklch(44.04% 0.141 260.8)
XYZxyz(9.5758, 8.2579, 33.8834)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E9F #9F7120
analogous
#208D9F #204E9F #32209F
triadic
#204E9F #9F204E #4E9F20
tetradic
#204E9F #9F208D #9F7120 #209F32
square
#204E9F #9F208D #9F7120 #209F32
split-complementary
#204E9F #9F3220 #8D9F20
monochromatic
#0B1C39 #16356C #204E9F #2A67D2 #5B8BDE

Accessibility & contrast

On white

7.92
#204E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204E9F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E9F#FFFFFF#000000##FFFFFF
##204E9F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #204e9f;
/* rgb */ color: rgb(32, 78, 159);
/* oklch */ color: oklch(44.0% 0.141 260.8);
Tailwind
colors: {
  custom: {
    50: '#707ebc',
    500: '#204e9f',
    950: '#000000',
  },
}
SCSS
$custom: #204e9f;
$custom-light: #707ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#204e9f",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 218.268,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.14122,
    "h": 260.8
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#204E9F
secondary
#C29C59
accent
#AB3EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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