#204291#204291

#204291 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.137 H 263.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#204291
RGBrgb(32, 66, 145)
HSLhsl(222, 64%, 35%)
HSVhsv(222, 78%, 57%)
CMYKcmyk(77.9%, 54.5%, 0%, 43.1%)
CIE-LABlab(30.03, 17.51, -47.19)
CIE-LCHlch(30.03, 50.34, 290.36°)
OKLaboklab(40.3% -0.0148 -0.136)
OKLCHoklch(40.3% 0.137 263.8)
XYZxyz(7.6529, 6.2470, 27.5850)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204291 #916F20
analogous
#207B91 #204291 #372091
triadic
#204291 #912042 #429120
tetradic
#204291 #91207B #916F20 #209137
square
#204291 #91207B #916F20 #209137
split-complementary
#204291 #913720 #7B9120
monochromatic
#0A142D #152B5F #204291 #2B59C3 #527BD9

Accessibility & contrast

On white

9.33
#204291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#204291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204291
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204291#FFFFFF#000000##FFFFFF
##2042911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204291;
/* rgb */ color: rgb(32, 66, 145);
/* oklch */ color: oklch(40.3% 0.137 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d75b2',
    500: '#204291',
    950: '#000000',
  },
}
SCSS
$custom: #204291;
$custom-light: #6d75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#204291",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 221.947,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.13676,
    "h": 263.8
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#204291
secondary
#BC9C51
accent
#B541E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204291

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

Preview Lab → · Contrast checker → · Palette generator →

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