#204888#204888

#204888 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.116 H 259.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#204888
RGBrgb(32, 72, 136)
HSLhsl(217, 62%, 33%)
HSVhsv(217, 76%, 53%)
CMYKcmyk(76.5%, 47.1%, 0%, 46.7%)
CIE-LABlab(31.16, 9.81, -39.84)
CIE-LCHlch(31.16, 41.03, 283.83°)
OKLaboklab(40.96% -0.0212 -0.1142)
OKLCHoklch(40.96% 0.116 259.5)
XYZxyz(7.3554, 6.7186, 24.1969)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204888 #886020
analogous
#207C88 #204888 #2C2088
triadic
#204888 #882048 #488820
tetradic
#204888 #88207C #886020 #20882C
square
#204888 #88207C #886020 #20882C
split-complementary
#204888 #882C20 #7C8820
monochromatic
#091425 #142E56 #204888 #2C62BA #4D82D5

Accessibility & contrast

On white

8.96
#204888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#204888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204888
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204888#FFFFFF#000000##FFFFFF
##2048881.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #204888;
/* rgb */ color: rgb(32, 72, 136);
/* oklch */ color: oklch(41.0% 0.116 259.5);
Tailwind
colors: {
  custom: {
    50: '#6b7aab',
    500: '#204888',
    950: '#000000',
  },
}
SCSS
$custom: #204888;
$custom-light: #6b7aab;
$custom-dark: #000000;
JSON
{
  "hex": "#204888",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 136
  },
  "hsl": {
    "h": 216.923,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.11615,
    "h": 259.5
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#204888
secondary
#B88E4C
accent
#A743E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #204888

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

Preview Lab → · Contrast checker → · Palette generator →

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