#204793#204793

#204793 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.133 H 262.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#204793
RGBrgb(32, 71, 147)
HSLhsl(220, 64%, 35%)
HSVhsv(220, 78%, 58%)
CMYKcmyk(78.2%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.62, 14.89, -45.84)
CIE-LCHlch(31.62, 48.19, 287.99°)
OKLaboklab(41.56% -0.0186 -0.1319)
OKLCHoklch(41.56% 0.133 262)
XYZxyz(8.1135, 6.9192, 28.5060)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204793 #936C20
analogous
#208193 #204793 #322093
triadic
#204793 #932047 #479320
tetradic
#204793 #932081 #936C20 #209332
square
#204793 #932081 #936C20 #209332
split-complementary
#204793 #933220 #819320
monochromatic
#0A162E #152F61 #204793 #2B5FC5 #5481DA

Accessibility & contrast

On white

8.81
#204793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204793
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204793#FFFFFF#000000##FFFFFF
##2047931.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204793;
/* rgb */ color: rgb(32, 71, 147);
/* oklch */ color: oklch(41.6% 0.133 262.0);
Tailwind
colors: {
  custom: {
    50: '#6e79b3',
    500: '#204793',
    950: '#000000',
  },
}
SCSS
$custom: #204793;
$custom-light: #6e79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#204793",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 219.652,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.13319,
    "h": 262
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#204793
secondary
#BD9952
accent
#AF41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204793

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

Preview Lab → · Contrast checker → · Palette generator →

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