#204F95#204F95

#204F95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.5% C 0.126 H 258.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#204F95
RGBrgb(32, 79, 149)
HSLhsl(216, 65%, 35%)
HSVhsv(216, 79%, 58%)
CMYKcmyk(78.5%, 47%, 0%, 41.6%)
CIE-LABlab(34.12, 10.27, -43.02)
CIE-LCHlch(34.12, 44.23, 283.42°)
OKLaboklab(43.52% -0.0251 -0.1234)
OKLCHoklch(43.52% 0.126 258.5)
XYZxyz(8.8145, 8.0679, 29.5207)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F95 #956620
analogous
#208A95 #204F95 #2B2095
triadic
#204F95 #95204F #4F9520
tetradic
#204F95 #95208A #956620 #20952B
square
#204F95 #95208A #956620 #20952B
split-complementary
#204F95 #952B20 #8A9520
monochromatic
#0A1A30 #153463 #204F95 #2B6AC7 #558BDA

Accessibility & contrast

On white

8.03
#204F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#204F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F95
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F95#FFFFFF#000000##FFFFFF
##204F951.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #204f95;
/* rgb */ color: rgb(32, 79, 149);
/* oklch */ color: oklch(43.5% 0.126 258.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fb5',
    500: '#204f95',
    950: '#000000',
  },
}
SCSS
$custom: #204f95;
$custom-light: #6e7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#204f95",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 215.897,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.12596,
    "h": 258.5
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#204F95
secondary
#BE9353
accent
#A440E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #204F95

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

Preview Lab → · Contrast checker → · Palette generator →

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