#204D95#204D95

#204D95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.128 H 259.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#204D95
RGBrgb(32, 77, 149)
HSLhsl(217, 65%, 35%)
HSVhsv(217, 79%, 58%)
CMYKcmyk(78.5%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.53, 11.61, -43.98)
CIE-LCHlch(33.53, 45.49, 284.79°)
OKLaboklab(43.06% -0.0233 -0.1263)
OKLCHoklch(43.06% 0.128 259.5)
XYZxyz(8.6724, 7.7838, 29.4733)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204D95 #956820
analogous
#208795 #204D95 #2D2095
triadic
#204D95 #95204D #4D9520
tetradic
#204D95 #952087 #956820 #20952D
square
#204D95 #952087 #956820 #20952D
split-complementary
#204D95 #952D20 #879520
monochromatic
#0A1930 #153363 #204D95 #2B67C7 #5588DA

Accessibility & contrast

On white

8.21
#204D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#204D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204D95
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204D95#FFFFFF#000000##FFFFFF
##204D951.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#024A94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #204d95;
/* rgb */ color: rgb(32, 77, 149);
/* oklch */ color: oklch(43.1% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eb5',
    500: '#204d95',
    950: '#000000',
  },
}
SCSS
$custom: #204d95;
$custom-light: #6e7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#204d95",
  "rgb": {
    "r": 32,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 216.923,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.12844,
    "h": 259.5
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#204D95
secondary
#BE9553
accent
#A740E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204D95

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

Preview Lab → · Contrast checker → · Palette generator →

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