#08103A#08103A

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

Color values

HEX#08103A
RGBrgb(8, 16, 58)
HSLhsl(230, 76%, 13%)
HSVhsv(230, 86%, 23%)
CMYKcmyk(86.2%, 72.4%, 0%, 77.3%)
CIE-LABlab(6.57, 14.02, -28.05)
CIE-LCHlch(6.57, 31.36, 296.57°)
OKLaboklab(19.94% -0.0014 -0.0815)
OKLCHoklch(19.94% 0.082 269)
XYZxyz(1.0489, 0.7276, 4.0873)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08103A #3A3208
analogous
#08293A #08103A #19083A
triadic
#08103A #3A0810 #103A08
tetradic
#08103A #3A0829 #3A3208 #083A19
square
#08103A #3A0829 #3A3208 #083A19
split-complementary
#08103A #3A1908 #293A08
monochromatic
#04071B #04071B #08103A #0F1F70 #172EA6

Accessibility & contrast

On white

18.33
#08103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08103A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08103A#FFFFFF#000000##FFFFFF
##08103A1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08103a;
/* rgb */ color: rgb(8, 16, 58);
/* oklch */ color: oklch(19.9% 0.082 269.0);
Tailwind
colors: {
  custom: {
    50: '#514e71',
    500: '#08103a',
    950: '#000000',
  },
}
SCSS
$custom: #08103a;
$custom-light: #514e71;
$custom-dark: #000000;
JSON
{
  "hex": "#08103a",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 230.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19941,
    "c": 0.08155,
    "h": 269
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#08103A
secondary
#796B25
accent
#D435F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #08103A

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

Preview Lab → · Contrast checker → · Palette generator →

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