#204894#204894

#204894 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.133 H 261.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#204894
RGBrgb(32, 72, 148)
HSLhsl(219, 64%, 35%)
HSVhsv(219, 78%, 58%)
CMYKcmyk(78.4%, 51.4%, 0%, 42%)
CIE-LABlab(31.99, 14.60, -45.86)
CIE-LCHlch(31.99, 48.13, 287.66°)
OKLaboklab(41.86% -0.0193 -0.1319)
OKLCHoklch(41.86% 0.133 261.7)
XYZxyz(8.2564, 7.0790, 28.9425)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204894 #946C20
analogous
#208294 #204894 #322094
triadic
#204894 #942048 #489420
tetradic
#204894 #942082 #946C20 #209432
square
#204894 #942082 #946C20 #209432
split-complementary
#204894 #943220 #829420
monochromatic
#0A172F #153062 #204894 #2B60C6 #5482DA

Accessibility & contrast

On white

8.69
#204894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#204894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204894
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204894#FFFFFF#000000##FFFFFF
##2048941.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204894;
/* rgb */ color: rgb(32, 72, 148);
/* oklch */ color: oklch(41.9% 0.133 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7ab4',
    500: '#204894',
    950: '#000000',
  },
}
SCSS
$custom: #204894;
$custom-light: #6e7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#204894",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 219.31,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.13332,
    "h": 261.7
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#204894
secondary
#BE9952
accent
#AE40E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204894

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

Preview Lab → · Contrast checker → · Palette generator →

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