#204581#204581

#204581 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.110 H 259.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#204581
RGBrgb(32, 69, 129)
HSLhsl(217, 60%, 32%)
HSVhsv(217, 75%, 51%)
CMYKcmyk(75.2%, 46.5%, 0%, 49.4%)
CIE-LABlab(29.78, 9.05, -37.71)
CIE-LCHlch(29.78, 38.78, 283.50°)
OKLaboklab(39.75% -0.0197 -0.108)
OKLCHoklch(39.75% 0.11 259.6)
XYZxyz(6.6848, 6.1476, 21.5989)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204581 #815C20
analogous
#207681 #204581 #2C2081
triadic
#204581 #812045 #458120
tetradic
#204581 #812076 #815C20 #20812C
square
#204581 #812076 #815C20 #20812C
split-complementary
#204581 #812C20 #768120
monochromatic
#08111F #142B50 #204581 #2C5FB2 #497ED2

Accessibility & contrast

On white

9.42
#204581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#204581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204581
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204581#FFFFFF#000000##FFFFFF
##2045811.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204581;
/* rgb */ color: rgb(32, 69, 129);
/* oklch */ color: oklch(39.7% 0.110 259.6);
Tailwind
colors: {
  custom: {
    50: '#6978a6',
    500: '#204581',
    950: '#000000',
  },
}
SCSS
$custom: #204581;
$custom-light: #6978a6;
$custom-dark: #000000;
JSON
{
  "hex": "#204581",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 217.113,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39747,
    "c": 0.10978,
    "h": 259.6
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#204581
secondary
#B48B49
accent
#A744E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204581

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

Preview Lab → · Contrast checker → · Palette generator →

#204581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva