#204797#204797

#204797 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.139 H 262.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#204797
RGBrgb(32, 71, 151)
HSLhsl(220, 65%, 36%)
HSVhsv(220, 79%, 59%)
CMYKcmyk(78.8%, 53%, 0%, 40.8%)
CIE-LABlab(31.91, 16.48, -47.80)
CIE-LCHlch(31.91, 50.56, 289.02°)
OKLaboklab(41.87% -0.0181 -0.1377)
OKLCHoklch(41.87% 0.139 262.5)
XYZxyz(8.4328, 7.0469, 30.1879)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204797 #977020
analogous
#208297 #204797 #342097
triadic
#204797 #972047 #479720
tetradic
#204797 #972082 #977020 #209734
square
#204797 #972082 #977020 #209734
split-complementary
#204797 #973420 #829720
monochromatic
#0B1832 #152F64 #204797 #2B5FC9 #5682DB

Accessibility & contrast

On white

8.72
#204797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#204797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204797
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204797#FFFFFF#000000##FFFFFF
##2047971.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204797;
/* rgb */ color: rgb(32, 71, 151);
/* oklch */ color: oklch(41.9% 0.139 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f79b6',
    500: '#204797',
    950: '#000000',
  },
}
SCSS
$custom: #204797;
$custom-light: #6f79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204797",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 220.336,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.13885,
    "h": 262.5
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#204797
secondary
#BF9C54
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204797

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

Preview Lab → · Contrast checker → · Palette generator →

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