#204579#204579

#204579 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.098 H 257.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#204579
RGBrgb(32, 69, 121)
HSLhsl(215, 58%, 30%)
HSVhsv(215, 74%, 47%)
CMYKcmyk(73.6%, 43%, 0%, 52.5%)
CIE-LABlab(29.27, 5.87, -33.53)
CIE-LCHlch(29.27, 34.04, 279.92°)
OKLaboklab(39.18% -0.0214 -0.0957)
OKLCHoklch(39.18% 0.098 257.4)
XYZxyz(6.1737, 5.9431, 18.9072)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204579 #795420
analogous
#207279 #204579 #272079
triadic
#204579 #792045 #457920
tetradic
#204579 #792072 #795420 #207927
square
#204579 #792072 #795420 #207927
split-complementary
#204579 #792720 #727920
monochromatic
#060E18 #132949 #204579 #2D61A9 #457ECE

Accessibility & contrast

On white

9.59
#204579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#204579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204579
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204579#FFFFFF#000000##FFFFFF
##2045791.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204579;
/* rgb */ color: rgb(32, 69, 121);
/* oklch */ color: oklch(39.2% 0.098 257.4);
Tailwind
colors: {
  custom: {
    50: '#6878a0',
    500: '#204579',
    950: '#000000',
  },
}
SCSS
$custom: #204579;
$custom-light: #6878a0;
$custom-dark: #000000;
JSON
{
  "hex": "#204579",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 215.056,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.09809,
    "h": 257.4
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#204579
secondary
#AC8349
accent
#A146E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204579

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

Preview Lab → · Contrast checker → · Palette generator →

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