#204096#204096

#204096 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.146 H 265.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#204096
RGBrgb(32, 64, 150)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 59%)
CMYKcmyk(78.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.85, 20.87, -50.54)
CIE-LCHlch(29.85, 54.68, 292.44°)
OKLaboklab(40.29% -0.0129 -0.1458)
OKLCHoklch(40.29% 0.146 265)
XYZxyz(7.9321, 6.1750, 29.6221)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204096 #967620
analogous
#207B96 #204096 #3B2096
triadic
#204096 #962040 #409620
tetradic
#204096 #96207B #967620 #20963B
square
#204096 #96207B #967620 #20963B
split-complementary
#204096 #963B20 #7B9620
monochromatic
#0A1531 #152A64 #204096 #2B56C8 #567ADB

Accessibility & contrast

On white

9.40
#204096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#204096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204096
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204096#FFFFFF#000000##FFFFFF
##2040961.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204096;
/* rgb */ color: rgb(32, 64, 150);
/* oklch */ color: oklch(40.3% 0.146 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f74b6',
    500: '#204096',
    950: '#000000',
  },
}
SCSS
$custom: #204096;
$custom-light: #6f74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204096",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 223.729,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.14641,
    "h": 265
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#204096
secondary
#BEA153
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204096

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

Preview Lab → · Contrast checker → · Palette generator →

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