#204179#204179

#204179 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.103 H 260.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#204179
RGBrgb(32, 65, 121)
HSLhsl(218, 58%, 30%)
HSVhsv(218, 74%, 47%)
CMYKcmyk(73.6%, 46.3%, 0%, 52.5%)
CIE-LABlab(28.03, 8.60, -35.51)
CIE-LCHlch(28.03, 36.54, 283.62°)
OKLaboklab(38.22% -0.0174 -0.1016)
OKLCHoklch(38.22% 0.103 260.3)
XYZxyz(5.9359, 5.4675, 18.8280)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204179 #795820
analogous
#206D79 #204179 #2C2079
triadic
#204179 #792041 #417920
tetradic
#204179 #79206D #795820 #20792C
square
#204179 #79206D #795820 #20792C
split-complementary
#204179 #792C20 #6D7920
monochromatic
#060D18 #132749 #204179 #2D5BA9 #4578CE

Accessibility & contrast

On white

10.03
#204179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#204179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204179
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204179#FFFFFF#000000##FFFFFF
##2041791.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #204179;
/* rgb */ color: rgb(32, 65, 121);
/* oklch */ color: oklch(38.2% 0.103 260.3);
Tailwind
colors: {
  custom: {
    50: '#6875a0',
    500: '#204179',
    950: '#000000',
  },
}
SCSS
$custom: #204179;
$custom-light: #6875a0;
$custom-dark: #000000;
JSON
{
  "hex": "#204179",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 121
  },
  "hsl": {
    "h": 217.753,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.1031,
    "h": 260.3
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#204179
secondary
#AC8749
accent
#A846E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #204179

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

Preview Lab → · Contrast checker → · Palette generator →

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