#204D8D#204D8D

#204D8D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.117 H 257.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#204D8D
RGBrgb(32, 77, 141)
HSLhsl(215, 63%, 34%)
HSVhsv(215, 77%, 55%)
CMYKcmyk(77.3%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.00, 8.42, -39.95)
CIE-LCHlch(33.00, 40.83, 281.91°)
OKLaboklab(42.48% -0.0248 -0.1144)
OKLCHoklch(42.48% 0.117 257.8)
XYZxyz(8.0555, 7.5370, 26.2244)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D8D #8D6020
analogous
#20848D #204D8D #29208D
triadic
#204D8D #8D204D #4D8D20
tetradic
#204D8D #8D2084 #8D6020 #208D29
square
#204D8D #8D2084 #8D6020 #208D29
split-complementary
#204D8D #8D2920 #848D20
monochromatic
#091729 #15325B #204D8D #2B68BF #5088D7

Accessibility & contrast

On white

8.37
#204D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#204D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D8D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D8D#FFFFFF#000000##FFFFFF
##204D8D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204d8d;
/* rgb */ color: rgb(32, 77, 141);
/* oklch */ color: oklch(42.5% 0.117 257.8);
Tailwind
colors: {
  custom: {
    50: '#6c7eaf',
    500: '#204d8d',
    950: '#000000',
  },
}
SCSS
$custom: #204d8d;
$custom-light: #6c7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#204d8d",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 215.229,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.11711,
    "h": 257.8
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#204D8D
secondary
#BA8E4E
accent
#A242E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #204D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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