#204199#204199

#204199 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.149 H 264.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#204199
RGBrgb(32, 65, 153)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(79.1%, 57.5%, 0%, 40%)
CIE-LABlab(30.37, 21.38, -51.53)
CIE-LCHlch(30.37, 55.79, 292.53°)
OKLaboklab(40.75% -0.0134 -0.1487)
OKLCHoklch(40.75% 0.149 264.8)
XYZxyz(8.2337, 6.3866, 30.9296)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204199 #997820
analogous
#207E99 #204199 #3C2099
triadic
#204199 #992041 #419920
tetradic
#204199 #99207E #997820 #20993C
square
#204199 #99207E #997820 #20993C
split-complementary
#204199 #993C20 #7E9920
monochromatic
#0B1634 #152B66 #204199 #2B57CC #577CDC

Accessibility & contrast

On white

9.22
#204199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#204199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204199
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204199#FFFFFF#000000##FFFFFF
##2041991.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #204199;
/* rgb */ color: rgb(32, 65, 153);
/* oklch */ color: oklch(40.8% 0.149 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f75b8',
    500: '#204199',
    950: '#000000',
  },
}
SCSS
$custom: #204199;
$custom-light: #6f75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#204199",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 223.636,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.14932,
    "h": 264.8
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#204199
secondary
#C0A355
accent
#BA3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #204199

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

Preview Lab → · Contrast checker → · Palette generator →

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