#204078#204078

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

Color values

HEX#204078
RGBrgb(32, 64, 120)
HSLhsl(218, 58%, 30%)
HSVhsv(218, 73%, 47%)
CMYKcmyk(73.3%, 46.7%, 0%, 52.9%)
CIE-LABlab(27.65, 8.89, -35.48)
CIE-LCHlch(27.65, 36.58, 284.07°)
OKLaboklab(37.91% -0.0166 -0.1015)
OKLCHoklch(37.91% 0.103 260.7)
XYZxyz(5.8180, 5.3293, 18.4877)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204078 #785820
analogous
#206C78 #204078 #2C2078
triadic
#204078 #782040 #407820
tetradic
#204078 #78206C #785820 #20782C
square
#204078 #78206C #785820 #20782C
split-complementary
#204078 #782C20 #6C7820
monochromatic
#060D18 #132648 #204078 #2D5AA8 #4577CD

Accessibility & contrast

On white

10.16
#204078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204078
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204078#FFFFFF#000000##FFFFFF
##2040781.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#133E77
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #204078;
/* rgb */ color: rgb(32, 64, 120);
/* oklch */ color: oklch(37.9% 0.103 260.7);
Tailwind
colors: {
  custom: {
    50: '#67749f',
    500: '#204078',
    950: '#000000',
  },
}
SCSS
$custom: #204078;
$custom-light: #67749f;
$custom-dark: #000000;
JSON
{
  "hex": "#204078",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 218.182,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.1029,
    "h": 260.7
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#204078
secondary
#AB8748
accent
#A947E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204078

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

Preview Lab → · Contrast checker → · Palette generator →

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