#204897#204897

#204897 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.138 H 262.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#204897
RGBrgb(32, 72, 151)
HSLhsl(220, 65%, 36%)
HSVhsv(220, 79%, 59%)
CMYKcmyk(78.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.20, 15.80, -47.34)
CIE-LCHlch(32.20, 49.90, 288.46°)
OKLaboklab(42.09% -0.0189 -0.1363)
OKLCHoklch(42.09% 0.138 262.1)
XYZxyz(8.4969, 7.1752, 30.2093)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204897 #976F20
analogous
#208397 #204897 #332097
triadic
#204897 #972048 #489720
tetradic
#204897 #972083 #976F20 #209733
square
#204897 #972083 #976F20 #209733
split-complementary
#204897 #973320 #839720
monochromatic
#0B1832 #153064 #204897 #2B60C9 #5683DB

Accessibility & contrast

On white

8.62
#204897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#204897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204897
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204897#FFFFFF#000000##FFFFFF
##2048971.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204897;
/* rgb */ color: rgb(32, 72, 151);
/* oklch */ color: oklch(42.1% 0.138 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7ab6',
    500: '#204897',
    950: '#000000',
  },
}
SCSS
$custom: #204897;
$custom-light: #6e7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#204897",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 219.832,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.13758,
    "h": 262.1
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#204897
secondary
#BF9B54
accent
#AF40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204897

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

Preview Lab → · Contrast checker → · Palette generator →

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