#204076#204076

#204076 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.100 H 260.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#204076
RGBrgb(32, 64, 118)
HSLhsl(218, 57%, 29%)
HSVhsv(218, 73%, 46%)
CMYKcmyk(72.9%, 45.8%, 0%, 53.7%)
CIE-LABlab(27.52, 8.09, -34.43)
CIE-LCHlch(27.52, 35.37, 283.23°)
OKLaboklab(37.77% -0.017 -0.0985)
OKLCHoklch(37.77% 0.1 260.2)
XYZxyz(5.6979, 5.2813, 17.8551)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204076 #765620
analogous
#206B76 #204076 #2B2076
triadic
#204076 #762040 #407620
tetradic
#204076 #76206B #765620 #20762B
square
#204076 #76206B #765620 #20762B
split-complementary
#204076 #762B20 #6B7620
monochromatic
#070D18 #132646 #204076 #2D5AA6 #4477CC

Accessibility & contrast

On white

10.21
#204076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#204076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204076
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204076#FFFFFF#000000##FFFFFF
##2040761.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#163D75
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #204076;
/* rgb */ color: rgb(32, 64, 118);
/* oklch */ color: oklch(37.8% 0.100 260.2);
Tailwind
colors: {
  custom: {
    50: '#67749e',
    500: '#204076',
    950: '#000000',
  },
}
SCSS
$custom: #204076;
$custom-light: #67749e;
$custom-dark: #000000;
JSON
{
  "hex": "#204076",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 217.674,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.09992,
    "h": 260.2
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#204076
secondary
#A98548
accent
#A847E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #204076

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

Preview Lab → · Contrast checker → · Palette generator →

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