#204C95#204C95

#204C95 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.130 H 260.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#204C95
RGBrgb(32, 76, 149)
HSLhsl(217, 65%, 35%)
HSVhsv(217, 79%, 58%)
CMYKcmyk(78.5%, 49%, 0%, 41.6%)
CIE-LABlab(33.23, 12.29, -44.46)
CIE-LCHlch(33.23, 46.13, 285.45°)
OKLaboklab(42.84% -0.0225 -0.1277)
OKLCHoklch(42.84% 0.13 260)
XYZxyz(8.6030, 7.6449, 29.4501)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C95 #956920
analogous
#208695 #204C95 #2E2095
triadic
#204C95 #95204C #4C9520
tetradic
#204C95 #952086 #956920 #20952E
square
#204C95 #952086 #956920 #20952E
split-complementary
#204C95 #952E20 #869520
monochromatic
#0A1930 #153263 #204C95 #2B66C7 #5587DA

Accessibility & contrast

On white

8.30
#204C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#204C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C95
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C95#FFFFFF#000000##FFFFFF
##204C951.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #204c95;
/* rgb */ color: rgb(32, 76, 149);
/* oklch */ color: oklch(42.8% 0.130 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7db5',
    500: '#204c95',
    950: '#000000',
  },
}
SCSS
$custom: #204c95;
$custom-light: #6e7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#204c95",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 217.436,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.12968,
    "h": 260
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#204C95
secondary
#BE9653
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C95

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

Preview Lab → · Contrast checker → · Palette generator →

#204C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva