#204278#204278

#204278 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.100 H 259.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#204278
RGBrgb(32, 66, 120)
HSLhsl(217, 58%, 30%)
HSVhsv(217, 73%, 47%)
CMYKcmyk(73.3%, 45%, 0%, 52.9%)
CIE-LABlab(28.27, 7.52, -34.50)
CIE-LCHlch(28.27, 35.30, 282.29°)
OKLaboklab(38.39% -0.0186 -0.0986)
OKLCHoklch(38.39% 0.1 259.3)
XYZxyz(5.9328, 5.5589, 18.5260)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204278 #785620
analogous
#206E78 #204278 #2A2078
triadic
#204278 #782042 #427820
tetradic
#204278 #78206E #785620 #20782A
square
#204278 #78206E #785620 #20782A
split-complementary
#204278 #782A20 #6E7820
monochromatic
#060D18 #132748 #204278 #2D5DA8 #457ACD

Accessibility & contrast

On white

9.94
#204278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#204278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204278
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204278#FFFFFF#000000##FFFFFF
##2042781.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#183F77
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204278;
/* rgb */ color: rgb(32, 66, 120);
/* oklch */ color: oklch(38.4% 0.100 259.3);
Tailwind
colors: {
  custom: {
    50: '#67759f',
    500: '#204278',
    950: '#000000',
  },
}
SCSS
$custom: #204278;
$custom-light: #67759f;
$custom-dark: #000000;
JSON
{
  "hex": "#204278",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 216.818,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.10034,
    "h": 259.3
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#204278
secondary
#AB8548
accent
#A547E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204278

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

Preview Lab → · Contrast checker → · Palette generator →

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