#08102A#08102A

#08102A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.3% C 0.054 H 267.7°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#08102A
RGBrgb(8, 16, 42)
HSLhsl(226, 68%, 10%)
HSVhsv(226, 81%, 16%)
CMYKcmyk(81%, 61.9%, 0%, 83.5%)
CIE-LABlab(5.32, 5.86, -18.25)
CIE-LCHlch(5.32, 19.17, 287.80°)
OKLaboklab(18.32% -0.0022 -0.0542)
OKLCHoklch(18.32% 0.054 267.7)
XYZxyz(0.7032, 0.5893, 2.2667)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08102A #2A2208
analogous
#08212A #08102A #11082A
triadic
#08102A #2A0810 #102A08
tetradic
#08102A #2A0821 #2A2208 #082A11
square
#08102A #2A0821 #2A2208 #082A11
split-complementary
#08102A #2A1108 #212A08
monochromatic
#050A1A #050A1A #08102A #12245D #1C3791

Accessibility & contrast

On white

18.79
#08102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#08102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08102A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08102A#FFFFFF#000000##FFFFFF
##08102A1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #08102a;
/* rgb */ color: rgb(8, 16, 42);
/* oklch */ color: oklch(18.3% 0.054 267.7);
Tailwind
colors: {
  custom: {
    50: '#4b4e63',
    500: '#08102a',
    950: '#000000',
  },
}
SCSS
$custom: #08102a;
$custom-light: #4b4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#08102a",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 225.882,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18321,
    "c": 0.0542,
    "h": 267.7
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#08102A
secondary
#695925
accent
#C23DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #08102A

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

Preview Lab → · Contrast checker → · Palette generator →

#08102A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva