#204071#204071

#204071 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.092 H 258.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#204071
RGBrgb(32, 64, 113)
HSLhsl(216, 56%, 28%)
HSVhsv(216, 72%, 44%)
CMYKcmyk(71.7%, 43.4%, 0%, 55.7%)
CIE-LABlab(27.20, 6.10, -31.78)
CIE-LCHlch(27.20, 32.36, 280.87°)
OKLaboklab(37.42% -0.0181 -0.0907)
OKLCHoklch(37.42% 0.092 258.7)
XYZxyz(5.4086, 5.1656, 16.3316)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204071 #715120
analogous
#206871 #204071 #282071
triadic
#204071 #712040 #407120
tetradic
#204071 #712068 #715120 #207128
square
#204071 #712068 #715120 #207128
split-complementary
#204071 #712820 #687120
monochromatic
#070E18 #122541 #204071 #2E5BA1 #4277C9

Accessibility & contrast

On white

10.33
#204071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#204071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204071
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204071#FFFFFF#000000##FFFFFF
##2040711.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#1C3D70
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #204071;
/* rgb */ color: rgb(32, 64, 113);
/* oklch */ color: oklch(37.4% 0.092 258.7);
Tailwind
colors: {
  custom: {
    50: '#66749a',
    500: '#204071',
    950: '#000000',
  },
}
SCSS
$custom: #204071;
$custom-light: #66749a;
$custom-dark: #000000;
JSON
{
  "hex": "#204071",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 216.296,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.09245,
    "h": 258.7
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#204071
secondary
#A58048
accent
#A449DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204071

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

Preview Lab → · Contrast checker → · Palette generator →

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