#204070#204070

#204070 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.091 H 258.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#204070
RGBrgb(32, 64, 112)
HSLhsl(216, 56%, 28%)
HSVhsv(216, 71%, 44%)
CMYKcmyk(71.4%, 42.9%, 0%, 56.1%)
CIE-LABlab(27.14, 5.71, -31.24)
CIE-LCHlch(27.14, 31.76, 280.35°)
OKLaboklab(37.35% -0.0183 -0.0891)
OKLCHoklch(37.35% 0.091 258.4)
XYZxyz(5.3526, 5.1432, 16.0367)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204070 #705020
analogous
#206870 #204070 #282070
triadic
#204070 #702040 #407020
tetradic
#204070 #702068 #705020 #207028
square
#204070 #702068 #705020 #207028
split-complementary
#204070 #702820 #687020
monochromatic
#070E18 #122540 #204070 #2E5BA0 #4278C9

Accessibility & contrast

On white

10.35
#204070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204070
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204070#FFFFFF#000000##FFFFFF
##2040701.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#1D3D6F
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #204070;
/* rgb */ color: rgb(32, 64, 112);
/* oklch */ color: oklch(37.4% 0.091 258.4);
Tailwind
colors: {
  custom: {
    50: '#667499',
    500: '#204070',
    950: '#000000',
  },
}
SCSS
$custom: #204070;
$custom-light: #667499;
$custom-dark: #000000;
JSON
{
  "hex": "#204070",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.09095,
    "h": 258.4
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#204070
secondary
#A47F48
accent
#A349DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204070

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

Preview Lab → · Contrast checker → · Palette generator →

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