#204174#204174

#204174 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.096 H 258.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#204174
RGBrgb(32, 65, 116)
HSLhsl(216, 57%, 29%)
HSVhsv(216, 72%, 45%)
CMYKcmyk(72.4%, 44%, 0%, 54.5%)
CIE-LABlab(27.70, 6.61, -32.88)
CIE-LCHlch(27.70, 33.54, 281.37°)
OKLaboklab(37.87% -0.0185 -0.0939)
OKLCHoklch(37.87% 0.096 258.9)
XYZxyz(5.6372, 5.3480, 17.2548)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204174 #745320
analogous
#206B74 #204174 #292074
triadic
#204174 #742041 #417420
tetradic
#204174 #74206B #745320 #207429
square
#204174 #74206B #745320 #207429
split-complementary
#204174 #742920 #6B7420
monochromatic
#070D18 #132644 #204174 #2D5CA4 #4379CB

Accessibility & contrast

On white

10.15
#204174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#204174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204174
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204174#FFFFFF#000000##FFFFFF
##2041741.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1B3E73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #204174;
/* rgb */ color: rgb(32, 65, 116);
/* oklch */ color: oklch(37.9% 0.096 258.9);
Tailwind
colors: {
  custom: {
    50: '#66759c',
    500: '#204174',
    950: '#000000',
  },
}
SCSS
$custom: #204174;
$custom-light: #66759c;
$custom-dark: #000000;
JSON
{
  "hex": "#204174",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 216.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.09567,
    "h": 258.9
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#204174
secondary
#A88248
accent
#A448E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204174

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

Preview Lab → · Contrast checker → · Palette generator →

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