#204378#204378

#204378 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.099 H 258.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#204378
RGBrgb(32, 67, 120)
HSLhsl(216, 58%, 30%)
HSVhsv(216, 73%, 47%)
CMYKcmyk(73.3%, 44.2%, 0%, 52.9%)
CIE-LABlab(28.58, 6.83, -34.00)
CIE-LCHlch(28.58, 34.68, 281.36°)
OKLaboklab(38.63% -0.0196 -0.0971)
OKLCHoklch(38.63% 0.099 258.6)
XYZxyz(5.9918, 5.6768, 18.5456)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204378 #785520
analogous
#206F78 #204378 #292078
triadic
#204378 #782043 #437820
tetradic
#204378 #78206F #785520 #207829
square
#204378 #78206F #785520 #207829
split-complementary
#204378 #782920 #6F7820
monochromatic
#060D18 #132848 #204378 #2D5EA8 #457BCD

Accessibility & contrast

On white

9.83
#204378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#204378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204378
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204378#FFFFFF#000000##FFFFFF
##2043781.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#1B4077
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204378;
/* rgb */ color: rgb(32, 67, 120);
/* oklch */ color: oklch(38.6% 0.099 258.6);
Tailwind
colors: {
  custom: {
    50: '#67769f',
    500: '#204378',
    950: '#000000',
  },
}
SCSS
$custom: #204378;
$custom-light: #67769f;
$custom-dark: #000000;
JSON
{
  "hex": "#204378",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 216.136,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.09909,
    "h": 258.6
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#204378
secondary
#AB8448
accent
#A447E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204378

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

Preview Lab → · Contrast checker → · Palette generator →

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