#204181#204181

#204181 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.115 H 262.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#204181
RGBrgb(32, 65, 129)
HSLhsl(220, 60%, 32%)
HSVhsv(220, 75%, 51%)
CMYKcmyk(75.2%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.57, 11.80, -39.66)
CIE-LCHlch(28.57, 41.37, 286.57°)
OKLaboklab(38.82% -0.016 -0.1138)
OKLCHoklch(38.82% 0.115 262)
XYZxyz(6.4470, 5.6720, 21.5196)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204181 #816020
analogous
#207281 #204181 #302081
triadic
#204181 #812041 #418120
tetradic
#204181 #812072 #816020 #208130
square
#204181 #812072 #816020 #208130
split-complementary
#204181 #813020 #728120
monochromatic
#08101F #142850 #204181 #2C5AB2 #4978D2

Accessibility & contrast

On white

9.84
#204181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#204181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204181
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204181#FFFFFF#000000##FFFFFF
##2041811.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#023F80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204181;
/* rgb */ color: rgb(32, 65, 129);
/* oklch */ color: oklch(38.8% 0.115 262.0);
Tailwind
colors: {
  custom: {
    50: '#6975a6',
    500: '#204181',
    950: '#000000',
  },
}
SCSS
$custom: #204181;
$custom-light: #6975a6;
$custom-dark: #000000;
JSON
{
  "hex": "#204181",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 219.588,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.11492,
    "h": 262
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#204181
secondary
#B48F49
accent
#AD44E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204181

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

Preview Lab → · Contrast checker → · Palette generator →

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