#204A91#204A91

#204A91 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.127 H 260.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#204A91
RGBrgb(32, 74, 145)
HSLhsl(218, 64%, 35%)
HSVhsv(218, 78%, 57%)
CMYKcmyk(77.9%, 49%, 0%, 43.1%)
CIE-LABlab(32.36, 12.04, -43.42)
CIE-LCHlch(32.36, 45.06, 285.50°)
OKLaboklab(42.08% -0.0214 -0.1247)
OKLCHoklch(42.08% 0.127 260.2)
XYZxyz(8.1534, 7.2480, 27.7519)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A91 #916720
analogous
#208391 #204A91 #2E2091
triadic
#204A91 #91204A #4A9120
tetradic
#204A91 #912083 #916720 #20912E
square
#204A91 #912083 #916720 #20912E
split-complementary
#204A91 #912E20 #839120
monochromatic
#0A172D #15305F #204A91 #2B64C3 #5284D9

Accessibility & contrast

On white

8.57
#204A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#204A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A91
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A91#FFFFFF#000000##FFFFFF
##204A911.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #204a91;
/* rgb */ color: rgb(32, 74, 145);
/* oklch */ color: oklch(42.1% 0.127 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7bb2',
    500: '#204a91',
    950: '#000000',
  },
}
SCSS
$custom: #204a91;
$custom-light: #6d7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#204a91",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 217.699,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.12653,
    "h": 260.2
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#204A91
secondary
#BC9451
accent
#A941E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A91

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

Preview Lab → · Contrast checker → · Palette generator →

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