#204095#204095

#204095 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.145 H 264.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#204095
RGBrgb(32, 64, 149)
HSLhsl(224, 65%, 35%)
HSVhsv(224, 79%, 58%)
CMYKcmyk(78.5%, 57%, 0%, 41.6%)
CIE-LABlab(29.77, 20.48, -50.06)
CIE-LCHlch(29.77, 54.09, 292.25°)
OKLaboklab(40.2% -0.0129 -0.1444)
OKLCHoklch(40.2% 0.145 264.9)
XYZxyz(7.8520, 6.1429, 29.1998)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204095 #957520
analogous
#207A95 #204095 #3B2095
triadic
#204095 #952040 #409520
tetradic
#204095 #95207A #957520 #20953B
square
#204095 #95207A #957520 #20953B
split-complementary
#204095 #953B20 #7A9520
monochromatic
#0A1530 #152A63 #204095 #2B56C7 #5579DA

Accessibility & contrast

On white

9.42
#204095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#204095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204095
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204095#FFFFFF#000000##FFFFFF
##2040951.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204095;
/* rgb */ color: rgb(32, 64, 149);
/* oklch */ color: oklch(40.2% 0.145 264.9);
Tailwind
colors: {
  custom: {
    50: '#6e74b5',
    500: '#204095',
    950: '#000000',
  },
}
SCSS
$custom: #204095;
$custom-light: #6e74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#204095",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 223.59,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.14501,
    "h": 264.9
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204095

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

Preview Lab → · Contrast checker → · Palette generator →

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