#204178#204178

#204178 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.102 H 260.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#204178
RGBrgb(32, 65, 120)
HSLhsl(218, 58%, 30%)
HSVhsv(218, 73%, 47%)
CMYKcmyk(73.3%, 45.8%, 0%, 52.9%)
CIE-LABlab(27.96, 8.20, -34.99)
CIE-LCHlch(27.96, 35.94, 283.19°)
OKLaboklab(38.15% -0.0176 -0.1001)
OKLCHoklch(38.15% 0.102 260)
XYZxyz(5.8749, 5.4431, 18.5067)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204178 #785720
analogous
#206D78 #204178 #2B2078
triadic
#204178 #782041 #417820
tetradic
#204178 #78206D #785720 #20782B
square
#204178 #78206D #785720 #20782B
split-complementary
#204178 #782B20 #6D7820
monochromatic
#060D18 #132748 #204178 #2D5BA8 #4578CD

Accessibility & contrast

On white

10.05
#204178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204178
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204178#FFFFFF#000000##FFFFFF
##2041781.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #204178;
/* rgb */ color: rgb(32, 65, 120);
/* oklch */ color: oklch(38.2% 0.102 260.0);
Tailwind
colors: {
  custom: {
    50: '#67759f',
    500: '#204178',
    950: '#000000',
  },
}
SCSS
$custom: #204178;
$custom-light: #67759f;
$custom-dark: #000000;
JSON
{
  "hex": "#204178",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 217.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.10162,
    "h": 260
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#204178
secondary
#AB8648
accent
#A747E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204178

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

Preview Lab → · Contrast checker → · Palette generator →

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