#204088#204088

#204088 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.126 H 263.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#204088
RGBrgb(32, 64, 136)
HSLhsl(222, 62%, 33%)
HSVhsv(222, 76%, 53%)
CMYKcmyk(76.5%, 52.9%, 0%, 46.7%)
CIE-LABlab(28.77, 15.30, -43.68)
CIE-LCHlch(28.77, 46.28, 289.30°)
OKLaboklab(39.13% -0.0141 -0.1257)
OKLCHoklch(39.13% 0.126 263.6)
XYZxyz(6.8714, 5.7507, 24.0356)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204088 #886820
analogous
#207488 #204088 #342088
triadic
#204088 #882040 #408820
tetradic
#204088 #882074 #886820 #208834
square
#204088 #882074 #886820 #208834
split-complementary
#204088 #883420 #748820
monochromatic
#091125 #142956 #204088 #2C57BA #4D77D5

Accessibility & contrast

On white

9.77
#204088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#204088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204088
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204088#FFFFFF#000000##FFFFFF
##2040881.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #204088;
/* rgb */ color: rgb(32, 64, 136);
/* oklch */ color: oklch(39.1% 0.126 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b74ab',
    500: '#204088',
    950: '#000000',
  },
}
SCSS
$custom: #204088;
$custom-light: #6b74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#204088",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 221.538,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.12644,
    "h": 263.6
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#204088
secondary
#B8974C
accent
#B343E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #204088

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

Preview Lab → · Contrast checker → · Palette generator →

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