#204F9F#204F9F

#204F9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.140 H 260.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#204F9F
RGBrgb(32, 79, 159)
HSLhsl(218, 66%, 37%)
HSVhsv(218, 80%, 62%)
CMYKcmyk(79.9%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.80, 14.25, -47.97)
CIE-LCHlch(34.80, 50.04, 286.54°)
OKLaboklab(44.26% -0.0234 -0.138)
OKLCHoklch(44.26% 0.14 260.4)
XYZxyz(9.6474, 8.4011, 33.9073)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F9F #9F7020
analogous
#208F9F #204F9F #30209F
triadic
#204F9F #9F204F #4F9F20
tetradic
#204F9F #9F208F #9F7020 #209F30
square
#204F9F #9F208F #9F7020 #209F30
split-complementary
#204F9F #9F3020 #8F9F20
monochromatic
#0B1C39 #16366C #204F9F #2A68D2 #5B8CDE

Accessibility & contrast

On white

7.83
#204F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#204F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F9F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F9F#FFFFFF#000000##FFFFFF
##204F9F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204f9f;
/* rgb */ color: rgb(32, 79, 159);
/* oklch */ color: oklch(44.3% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#707fbc',
    500: '#204f9f',
    950: '#000000',
  },
}
SCSS
$custom: #204f9f;
$custom-light: #707fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#204f9f",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 217.795,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.13996,
    "h": 260.4
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#204F9F
secondary
#C29B59
accent
#AA3EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #204F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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