#08103C#08103C

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

Color values

HEX#08103C
RGBrgb(8, 16, 60)
HSLhsl(231, 76%, 13%)
HSVhsv(231, 87%, 24%)
CMYKcmyk(86.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(6.76, 15.02, -29.19)
CIE-LCHlch(6.76, 32.83, 297.24°)
OKLaboklab(20.16% -0.0014 -0.0848)
OKLCHoklch(20.16% 0.085 269)
XYZxyz(1.1008, 0.7483, 4.3605)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08103C #3C3408
analogous
#082A3C #08103C #1A083C
triadic
#08103C #3C0810 #103C08
tetradic
#08103C #3C082A #3C3408 #083C1A
square
#08103C #3C082A #3C3408 #083C1A
split-complementary
#08103C #3C1A08 #2A3C08
monochromatic
#04071B #04071B #08103C #0F1E72 #162DA8

Accessibility & contrast

On white

18.27
#08103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08103C
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08103C#FFFFFF#000000##FFFFFF
##08103C1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08103c;
/* rgb */ color: rgb(8, 16, 60);
/* oklch */ color: oklch(20.2% 0.085 269.0);
Tailwind
colors: {
  custom: {
    50: '#514e72',
    500: '#08103c',
    950: '#000000',
  },
}
SCSS
$custom: #08103c;
$custom-light: #514e72;
$custom-dark: #000000;
JSON
{
  "hex": "#08103c",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 230.769,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20163,
    "c": 0.08476,
    "h": 269
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#08103C
secondary
#7B6E25
accent
#D635F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #08103C

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

Preview Lab → · Contrast checker → · Palette generator →

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