#204796#204796

#204796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.137 H 262.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#204796
RGBrgb(32, 71, 150)
HSLhsl(220, 65%, 36%)
HSVhsv(220, 79%, 59%)
CMYKcmyk(78.7%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.84, 16.08, -47.31)
CIE-LCHlch(31.84, 49.97, 288.77°)
OKLaboklab(41.79% -0.0182 -0.1362)
OKLCHoklch(41.79% 0.137 262.4)
XYZxyz(8.3519, 7.0146, 29.7620)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204796 #966F20
analogous
#208296 #204796 #342096
triadic
#204796 #962047 #479620
tetradic
#204796 #962082 #966F20 #209634
square
#204796 #962082 #966F20 #209634
split-complementary
#204796 #963420 #829620
monochromatic
#0A1731 #152F64 #204796 #2B5FC8 #5682DB

Accessibility & contrast

On white

8.74
#204796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#204796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204796
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204796#FFFFFF#000000##FFFFFF
##2047961.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204796;
/* rgb */ color: rgb(32, 71, 150);
/* oklch */ color: oklch(41.8% 0.137 262.4);
Tailwind
colors: {
  custom: {
    50: '#6e79b5',
    500: '#204796',
    950: '#000000',
  },
}
SCSS
$custom: #204796;
$custom-light: #6e79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#204796",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 220.169,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.13744,
    "h": 262.4
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#204796
secondary
#BE9B53
accent
#B040E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204796

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

Preview Lab → · Contrast checker → · Palette generator →

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