#08102E#08102E

#08102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.061 H 268.4°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#08102E
RGBrgb(8, 16, 46)
HSLhsl(227, 70%, 11%)
HSVhsv(227, 83%, 18%)
CMYKcmyk(82.6%, 65.2%, 0%, 82%)
CIE-LABlab(5.59, 7.77, -20.82)
CIE-LCHlch(5.59, 22.22, 290.47°)
OKLaboklab(18.7% -0.0017 -0.0613)
OKLCHoklch(18.7% 0.061 268.4)
XYZxyz(0.7784, 0.6194, 2.6628)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08102E #2E2608
analogous
#08232E #08102E #13082E
triadic
#08102E #2E0810 #102E08
tetradic
#08102E #2E0823 #2E2608 #082E13
square
#08102E #2E0823 #2E2608 #082E13
split-complementary
#08102E #2E1308 #232E08
monochromatic
#05091A #05091A #08102E #112262 #1A3496

Accessibility & contrast

On white

18.69
#08102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08102E
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08102E#FFFFFF#000000##FFFFFF
##08102E1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #08102e;
/* rgb */ color: rgb(8, 16, 46);
/* oklch */ color: oklch(18.7% 0.061 268.4);
Tailwind
colors: {
  custom: {
    50: '#4c4e67',
    500: '#08102e',
    950: '#000000',
  },
}
SCSS
$custom: #08102e;
$custom-light: #4c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#08102e",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 227.368,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18698,
    "c": 0.06132,
    "h": 268.4
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#08102E
secondary
#6D5E25
accent
#C83BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #08102E

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

Preview Lab → · Contrast checker → · Palette generator →

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