#08103F#08103F

#08103F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.089 H 269.0°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#08103F
RGBrgb(8, 16, 63)
HSLhsl(231, 77%, 14%)
HSVhsv(231, 87%, 25%)
CMYKcmyk(87.3%, 74.6%, 0%, 75.3%)
CIE-LABlab(7.05, 16.48, -30.85)
CIE-LCHlch(7.05, 34.98, 298.10°)
OKLaboklab(20.5% -0.0016 -0.0895)
OKLCHoklch(20.5% 0.089 269)
XYZxyz(1.1823, 0.7810, 4.7901)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08103F #3F3708
analogous
#082C3F #08103F #1C083F
triadic
#08103F #3F0810 #103F08
tetradic
#08103F #3F082C #3F3708 #083F1C
square
#08103F #3F082C #3F3708 #083F1C
split-complementary
#08103F #3F1C08 #2C3F08
monochromatic
#03071B #03071B #08103F #0F1E75 #162CAC

Accessibility & contrast

On white

18.16
#08103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#08103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08103F
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08103F#FFFFFF#000000##FFFFFF
##08103F1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08103f;
/* rgb */ color: rgb(8, 16, 63);
/* oklch */ color: oklch(20.5% 0.089 269.0);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#08103f',
    950: '#000000',
  },
}
SCSS
$custom: #08103f;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#08103f",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 231.273,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20501,
    "c": 0.08949,
    "h": 269
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#08103F
secondary
#7E7125
accent
#D834F4
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #08103F

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

Preview Lab → · Contrast checker → · Palette generator →

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