#08102C#08102C

#08102C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.5% C 0.058 H 268.1°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#08102C
RGBrgb(8, 16, 44)
HSLhsl(227, 69%, 10%)
HSVhsv(227, 82%, 17%)
CMYKcmyk(81.8%, 63.6%, 0%, 82.7%)
CIE-LABlab(5.46, 6.79, -19.55)
CIE-LCHlch(5.46, 20.69, 289.16°)
OKLaboklab(18.51% -0.0019 -0.0578)
OKLCHoklch(18.51% 0.058 268.1)
XYZxyz(0.7399, 0.6040, 2.4600)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08102C #2C2408
analogous
#08222C #08102C #12082C
triadic
#08102C #2C0810 #102C08
tetradic
#08102C #2C0822 #2C2408 #082C12
square
#08102C #2C0822 #2C2408 #082C12
split-complementary
#08102C #2C1208 #222C08
monochromatic
#05091A #05091A #08102C #112360 #1B3694

Accessibility & contrast

On white

18.74
#08102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08102C
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08102C#FFFFFF#000000##FFFFFF
##08102C1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #08102c;
/* rgb */ color: rgb(8, 16, 44);
/* oklch */ color: oklch(18.5% 0.058 268.1);
Tailwind
colors: {
  custom: {
    50: '#4c4e65',
    500: '#08102c',
    950: '#000000',
  },
}
SCSS
$custom: #08102c;
$custom-light: #4c4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#08102c",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 226.667,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18507,
    "c": 0.05779,
    "h": 268.1
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#08102C
secondary
#6B5B25
accent
#C53CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08102C

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

Preview Lab → · Contrast checker → · Palette generator →

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