#08204B#08204B

#08204B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.085 H 260.9°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#08204B
RGBrgb(8, 32, 75)
HSLhsl(219, 81%, 16%)
HSVhsv(219, 89%, 29%)
CMYKcmyk(89.3%, 57.3%, 0%, 70.6%)
CIE-LABlab(13.18, 9.58, -29.28)
CIE-LCHlch(13.18, 30.80, 288.11°)
OKLaboklab(25.48% -0.0134 -0.0844)
OKLCHoklch(25.48% 0.085 260.9)
XYZxyz(1.8862, 1.5924, 6.8632)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08204B #4B3308
analogous
#08424B #08204B #11084B
triadic
#08204B #4B0820 #204B08
tetradic
#08204B #4B0842 #4B3308 #084B11
square
#08204B #4B0842 #4B3308 #084B11
split-complementary
#08204B #4B1108 #424B08
monochromatic
#030C1C #030C1C #08204B #0E3882 #144FBA

Accessibility & contrast

On white

15.93
#08204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#08204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08204B
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08204B#FFFFFF#000000##FFFFFF
##08204B1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #08204b;
/* rgb */ color: rgb(8, 32, 75);
/* oklch */ color: oklch(25.5% 0.085 260.9);
Tailwind
colors: {
  custom: {
    50: '#555a7e',
    500: '#08204b',
    950: '#000000',
  },
}
SCSS
$custom: #08204b;
$custom-light: #555a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#08204b",
  "rgb": {
    "r": 8,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 218.507,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25479,
    "c": 0.08543,
    "h": 260.9
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#08204B
secondary
#896526
accent
#B031F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #08204B

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

Preview Lab → · Contrast checker → · Palette generator →

#08204B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva