#204091#204091

#204091 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 264.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#204091
RGBrgb(32, 64, 145)
HSLhsl(223, 64%, 35%)
HSVhsv(223, 78%, 57%)
CMYKcmyk(77.9%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.46, 18.89, -48.12)
CIE-LCHlch(29.46, 51.69, 291.43°)
OKLaboklab(39.87% -0.0132 -0.1387)
OKLCHoklch(39.87% 0.139 264.6)
XYZxyz(7.5381, 6.0174, 27.5468)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204091 #917120
analogous
#207991 #204091 #392091
triadic
#204091 #912040 #409120
tetradic
#204091 #912079 #917120 #209139
square
#204091 #912079 #917120 #209139
split-complementary
#204091 #913920 #799120
monochromatic
#0A142D #152A5F #204091 #2B56C3 #5279D9

Accessibility & contrast

On white

9.53
#204091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#204091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204091
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204091#FFFFFF#000000##FFFFFF
##2040911.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204091;
/* rgb */ color: rgb(32, 64, 145);
/* oklch */ color: oklch(39.9% 0.139 264.6);
Tailwind
colors: {
  custom: {
    50: '#6d74b2',
    500: '#204091',
    950: '#000000',
  },
}
SCSS
$custom: #204091;
$custom-light: #6d74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#204091",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 223.009,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39865,
    "c": 0.13935,
    "h": 264.6
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#204091
secondary
#BC9E51
accent
#B841E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204091

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

Preview Lab → · Contrast checker → · Palette generator →

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