#204C94#204C94

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

Color values

HEX#204C94
RGBrgb(32, 76, 148)
HSLhsl(217, 64%, 35%)
HSVhsv(217, 78%, 58%)
CMYKcmyk(78.4%, 48.6%, 0%, 42%)
CIE-LABlab(33.16, 11.89, -43.96)
CIE-LCHlch(33.16, 45.54, 285.13°)
OKLaboklab(42.76% -0.0226 -0.1262)
OKLCHoklch(42.76% 0.128 259.8)
XYZxyz(8.5235, 7.6131, 29.0315)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C94 #946820
analogous
#208694 #204C94 #2E2094
triadic
#204C94 #94204C #4C9420
tetradic
#204C94 #942086 #946820 #20942E
square
#204C94 #942086 #946820 #20942E
split-complementary
#204C94 #942E20 #869420
monochromatic
#0A182F #153262 #204C94 #2B66C6 #5487DA

Accessibility & contrast

On white

8.32
#204C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#204C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C94
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C94#FFFFFF#000000##FFFFFF
##204C941.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204c94;
/* rgb */ color: rgb(32, 76, 148);
/* oklch */ color: oklch(42.8% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7db4',
    500: '#204c94',
    950: '#000000',
  },
}
SCSS
$custom: #204c94;
$custom-light: #6e7db4;
$custom-dark: #000000;
JSON
{
  "hex": "#204c94",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 217.241,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.12827,
    "h": 259.8
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#204C94
secondary
#BE9552
accent
#A840E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204C94

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

Preview Lab → · Contrast checker → · Palette generator →

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