#08103B#08103B

#08103B is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.083 H 269.0°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#08103B
RGBrgb(8, 16, 59)
HSLhsl(231, 76%, 13%)
HSVhsv(231, 86%, 23%)
CMYKcmyk(86.4%, 72.9%, 0%, 76.9%)
CIE-LABlab(6.67, 14.53, -28.62)
CIE-LCHlch(6.67, 32.09, 296.91°)
OKLaboklab(20.05% -0.0014 -0.0831)
OKLCHoklch(20.05% 0.083 269)
XYZxyz(1.0746, 0.7379, 4.2226)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08103B #3B3308
analogous
#08293B #08103B #19083B
triadic
#08103B #3B0810 #103B08
tetradic
#08103B #3B0829 #3B3308 #083B19
square
#08103B #3B0829 #3B3308 #083B19
split-complementary
#08103B #3B1908 #293B08
monochromatic
#04071B #04071B #08103B #0F1F71 #172DA7

Accessibility & contrast

On white

18.30
#08103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08103B
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08103B#FFFFFF#000000##FFFFFF
##08103B1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08103b;
/* rgb */ color: rgb(8, 16, 59);
/* oklch */ color: oklch(20.1% 0.083 269.0);
Tailwind
colors: {
  custom: {
    50: '#514e71',
    500: '#08103b',
    950: '#000000',
  },
}
SCSS
$custom: #08103b;
$custom-light: #514e71;
$custom-dark: #000000;
JSON
{
  "hex": "#08103b",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 230.588,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20052,
    "c": 0.08316,
    "h": 269
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#08103B
secondary
#7A6C25
accent
#D535F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #08103B

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

Preview Lab → · Contrast checker → · Palette generator →

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