#204399#204399

#204399 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.147 H 264.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#204399
RGBrgb(32, 67, 153)
HSLhsl(223, 65%, 36%)
HSVhsv(223, 79%, 60%)
CMYKcmyk(79.1%, 56.2%, 0%, 40%)
CIE-LABlab(30.93, 20.01, -50.62)
CIE-LCHlch(30.93, 54.43, 291.57°)
OKLaboklab(41.17% -0.0149 -0.146)
OKLCHoklch(41.17% 0.147 264.2)
XYZxyz(8.3505, 6.6203, 30.9686)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204399 #997620
analogous
#208099 #204399 #3A2099
triadic
#204399 #992043 #439920
tetradic
#204399 #992080 #997620 #20993A
square
#204399 #992080 #997620 #20993A
split-complementary
#204399 #993A20 #809920
monochromatic
#0B1734 #152D66 #204399 #2B59CC #577EDC

Accessibility & contrast

On white

9.04
#204399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#204399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204399
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204399#FFFFFF#000000##FFFFFF
##2043991.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204399;
/* rgb */ color: rgb(32, 67, 153);
/* oklch */ color: oklch(41.2% 0.147 264.2);
Tailwind
colors: {
  custom: {
    50: '#6f76b8',
    500: '#204399',
    950: '#000000',
  },
}
SCSS
$custom: #204399;
$custom-light: #6f76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#204399",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 222.645,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.14678,
    "h": 264.2
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#204399
secondary
#C0A155
accent
#B83FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #204399

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

Preview Lab → · Contrast checker → · Palette generator →

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