#08102B#08102B

#08102B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.056 H 267.9°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#08102B
RGBrgb(8, 16, 43)
HSLhsl(226, 69%, 10%)
HSVhsv(226, 81%, 17%)
CMYKcmyk(81.4%, 62.8%, 0%, 83.1%)
CIE-LABlab(5.39, 6.32, -18.90)
CIE-LCHlch(5.39, 19.93, 288.48°)
OKLaboklab(18.41% -0.002 -0.056)
OKLCHoklch(18.41% 0.056 267.9)
XYZxyz(0.7213, 0.5966, 2.3622)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08102B #2B2308
analogous
#08212B #08102B #12082B
triadic
#08102B #2B0810 #102B08
tetradic
#08102B #2B0821 #2B2308 #082B12
square
#08102B #2B0821 #2B2308 #082B12
split-complementary
#08102B #2B1208 #212B08
monochromatic
#050A1A #050A1A #08102B #12235F #1B3692

Accessibility & contrast

On white

18.76
#08102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08102B
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08102B#FFFFFF#000000##FFFFFF
##08102B1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #08102b;
/* rgb */ color: rgb(8, 16, 43);
/* oklch */ color: oklch(18.4% 0.056 267.9);
Tailwind
colors: {
  custom: {
    50: '#4b4e64',
    500: '#08102b',
    950: '#000000',
  },
}
SCSS
$custom: #08102b;
$custom-light: #4b4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#08102b",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 226.286,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.18413,
    "c": 0.056,
    "h": 267.9
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#08102B
secondary
#6A5A25
accent
#C33CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08102B

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

Preview Lab → · Contrast checker → · Palette generator →

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