#204079#204079

#204079 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.104 H 261.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#204079
RGBrgb(32, 64, 121)
HSLhsl(218, 58%, 30%)
HSVhsv(218, 74%, 47%)
CMYKcmyk(73.6%, 47.1%, 0%, 52.5%)
CIE-LABlab(27.72, 9.29, -36.01)
CIE-LCHlch(27.72, 37.19, 284.47°)
OKLaboklab(37.99% -0.0164 -0.1031)
OKLCHoklch(37.99% 0.104 261)
XYZxyz(5.8790, 5.3537, 18.8090)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204079 #795920
analogous
#206C79 #204079 #2D2079
triadic
#204079 #792040 #407920
tetradic
#204079 #79206C #795920 #20792D
square
#204079 #79206C #795920 #20792D
split-complementary
#204079 #792D20 #6C7920
monochromatic
#060D18 #132649 #204079 #2D5AA9 #4577CE

Accessibility & contrast

On white

10.14
#204079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204079
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204079#FFFFFF#000000##FFFFFF
##2040791.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #204079;
/* rgb */ color: rgb(32, 64, 121);
/* oklch */ color: oklch(38.0% 0.104 261.0);
Tailwind
colors: {
  custom: {
    50: '#6874a0',
    500: '#204079',
    950: '#000000',
  },
}
SCSS
$custom: #204079;
$custom-light: #6874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#204079",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 218.427,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.10439,
    "h": 261
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#204079
secondary
#AC8849
accent
#AA46E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #204079

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

Preview Lab → · Contrast checker → · Palette generator →

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