#204374#204374

#204374 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.093 H 257.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#204374
RGBrgb(32, 67, 116)
HSLhsl(215, 57%, 29%)
HSVhsv(215, 72%, 45%)
CMYKcmyk(72.4%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.33, 5.24, -31.88)
CIE-LCHlch(28.33, 32.31, 279.34°)
OKLaboklab(38.36% -0.0206 -0.0909)
OKLCHoklch(38.36% 0.093 257.3)
XYZxyz(5.7541, 5.5817, 17.2937)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204374 #745120
analogous
#206D74 #204374 #272074
triadic
#204374 #742043 #437420
tetradic
#204374 #74206D #745120 #207427
square
#204374 #74206D #745120 #207427
split-complementary
#204374 #742720 #6D7420
monochromatic
#070E18 #132744 #204374 #2D5FA4 #437CCB

Accessibility & contrast

On white

9.92
#204374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#204374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204374
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204374#FFFFFF#000000##FFFFFF
##2043741.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #204374;
/* rgb */ color: rgb(32, 67, 116);
/* oklch */ color: oklch(38.4% 0.093 257.3);
Tailwind
colors: {
  custom: {
    50: '#66769c',
    500: '#204374',
    950: '#000000',
  },
}
SCSS
$custom: #204374;
$custom-light: #66769c;
$custom-dark: #000000;
JSON
{
  "hex": "#204374",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 215,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.0932,
    "h": 257.3
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#204374
secondary
#A88048
accent
#A148E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #204374

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

Preview Lab → · Contrast checker → · Palette generator →

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