#204081#204081

#204081 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.116 H 262.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#204081
RGBrgb(32, 64, 129)
HSLhsl(220, 60%, 32%)
HSVhsv(220, 75%, 51%)
CMYKcmyk(75.2%, 50.4%, 0%, 49.4%)
CIE-LABlab(28.27, 12.49, -40.14)
CIE-LCHlch(28.27, 42.04, 287.29°)
OKLaboklab(38.59% -0.015 -0.1152)
OKLCHoklch(38.59% 0.116 262.6)
XYZxyz(6.3901, 5.5582, 21.5007)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204081 #816120
analogous
#207181 #204081 #312081
triadic
#204081 #812040 #408120
tetradic
#204081 #812071 #816120 #208131
square
#204081 #812071 #816120 #208131
split-complementary
#204081 #813120 #718120
monochromatic
#080F1F #142850 #204081 #2C58B2 #4976D2

Accessibility & contrast

On white

9.94
#204081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#204081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204081
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204081#FFFFFF#000000##FFFFFF
##2040811.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4783
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204081;
/* rgb */ color: rgb(32, 64, 129);
/* oklch */ color: oklch(38.6% 0.116 262.6);
Tailwind
colors: {
  custom: {
    50: '#6a74a6',
    500: '#204081',
    950: '#000000',
  },
}
SCSS
$custom: #204081;
$custom-light: #6a74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#204081",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 220.206,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38585,
    "c": 0.11622,
    "h": 262.6
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#204081
secondary
#B49149
accent
#AF44E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #204081

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

Preview Lab → · Contrast checker → · Palette generator →

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