#204E8F#204E8F

#204E8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.119 H 257.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#204E8F
RGBrgb(32, 78, 143)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 78%, 56%)
CMYKcmyk(77.6%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.43, 8.55, -40.48)
CIE-LCHlch(33.43, 41.38, 281.92°)
OKLaboklab(42.86% -0.0253 -0.116)
OKLCHoklch(42.86% 0.119 257.7)
XYZxyz(8.2762, 7.7381, 27.0387)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204E8F #8F6120
analogous
#20868F #204E8F #29208F
triadic
#204E8F #8F204E #4E8F20
tetradic
#204E8F #8F2086 #8F6120 #208F29
square
#204E8F #8F2086 #8F6120 #208F29
split-complementary
#204E8F #8F2920 #868F20
monochromatic
#0A172B #15335D #204E8F #2B69C1 #5189D8

Accessibility & contrast

On white

8.24
#204E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#204E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204E8F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204E8F#FFFFFF#000000##FFFFFF
##204E8F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#164A8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204e8f;
/* rgb */ color: rgb(32, 78, 143);
/* oklch */ color: oklch(42.9% 0.119 257.7);
Tailwind
colors: {
  custom: {
    50: '#6c7fb0',
    500: '#204e8f',
    950: '#000000',
  },
}
SCSS
$custom: #204e8f;
$custom-light: #6c7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#204e8f",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 215.135,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.11872,
    "h": 257.7
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#204E8F
secondary
#BB8F4F
accent
#A241E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #204E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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