#204795#204795

#204795 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.136 H 262.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#204795
RGBrgb(32, 71, 149)
HSLhsl(220, 65%, 35%)
HSVhsv(220, 79%, 58%)
CMYKcmyk(78.5%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.77, 15.68, -46.82)
CIE-LCHlch(31.77, 49.38, 288.52°)
OKLaboklab(41.71% -0.0184 -0.1348)
OKLCHoklch(41.71% 0.136 262.2)
XYZxyz(8.2718, 6.9825, 29.3398)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204795 #956E20
analogous
#208195 #204795 #332095
triadic
#204795 #952047 #479520
tetradic
#204795 #952081 #956E20 #209533
square
#204795 #952081 #956E20 #209533
split-complementary
#204795 #953320 #819520
monochromatic
#0A1730 #152F63 #204795 #2B5FC7 #5581DA

Accessibility & contrast

On white

8.76
#204795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#204795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204795
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204795#FFFFFF#000000##FFFFFF
##2047951.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #204795;
/* rgb */ color: rgb(32, 71, 149);
/* oklch */ color: oklch(41.7% 0.136 262.2);
Tailwind
colors: {
  custom: {
    50: '#6e79b5',
    500: '#204795',
    950: '#000000',
  },
}
SCSS
$custom: #204795;
$custom-light: #6e79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#204795",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 220,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.13602,
    "h": 262.2
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#204795
secondary
#BE9A53
accent
#B040E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204795

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

Preview Lab → · Contrast checker → · Palette generator →

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