#204794#204794

#204794 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.135 H 262.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#204794
RGBrgb(32, 71, 148)
HSLhsl(220, 64%, 35%)
HSVhsv(220, 78%, 58%)
CMYKcmyk(78.4%, 52%, 0%, 42%)
CIE-LABlab(31.69, 15.29, -46.33)
CIE-LCHlch(31.69, 48.79, 288.26°)
OKLaboklab(41.64% -0.0185 -0.1333)
OKLCHoklch(41.64% 0.135 262.1)
XYZxyz(8.1923, 6.9507, 28.9211)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204794 #946D20
analogous
#208194 #204794 #332094
triadic
#204794 #942047 #479420
tetradic
#204794 #942081 #946D20 #209433
square
#204794 #942081 #946D20 #209433
split-complementary
#204794 #943320 #819420
monochromatic
#0A172F #152F62 #204794 #2B5FC6 #5481DA

Accessibility & contrast

On white

8.79
#204794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#204794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204794
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204794#FFFFFF#000000##FFFFFF
##2047941.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204794;
/* rgb */ color: rgb(32, 71, 148);
/* oklch */ color: oklch(41.6% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e79b4',
    500: '#204794',
    950: '#000000',
  },
}
SCSS
$custom: #204794;
$custom-light: #6e79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#204794",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 219.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.1346,
    "h": 262.1
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#204794
secondary
#BE9A52
accent
#AF40E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204794

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

Preview Lab → · Contrast checker → · Palette generator →

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