#204792#204792

#204792 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.132 H 261.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#204792
RGBrgb(32, 71, 146)
HSLhsl(219, 64%, 35%)
HSVhsv(219, 78%, 57%)
CMYKcmyk(78.1%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.55, 14.49, -45.34)
CIE-LCHlch(31.55, 47.60, 287.72°)
OKLaboklab(41.48% -0.0187 -0.1304)
OKLCHoklch(41.48% 0.132 261.8)
XYZxyz(8.0353, 6.8880, 28.0946)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204792 #926B20
analogous
#208092 #204792 #322092
triadic
#204792 #922047 #479220
tetradic
#204792 #922080 #926B20 #209232
square
#204792 #922080 #926B20 #209232
split-complementary
#204792 #923220 #809220
monochromatic
#0A162E #152F60 #204792 #2B5FC4 #5381D9

Accessibility & contrast

On white

8.83
#204792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#204792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204792
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204792#FFFFFF#000000##FFFFFF
##2047921.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195095
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #204792;
/* rgb */ color: rgb(32, 71, 146);
/* oklch */ color: oklch(41.5% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#6d79b2',
    500: '#204792',
    950: '#000000',
  },
}
SCSS
$custom: #204792;
$custom-light: #6d79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#204792",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 219.474,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.13176,
    "h": 261.8
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#204792
secondary
#BD9851
accent
#AE41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204792

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

Preview Lab → · Contrast checker → · Palette generator →

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