#08113A#08113A

#08113A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.080 H 268.4°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#08113A
RGBrgb(8, 17, 58)
HSLhsl(229, 76%, 13%)
HSVhsv(229, 86%, 23%)
CMYKcmyk(86.2%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.85, 13.38, -27.60)
CIE-LCHlch(6.85, 30.67, 295.85°)
OKLaboklab(20.17% -0.0022 -0.08)
OKLCHoklch(20.17% 0.08 268.4)
XYZxyz(1.0640, 0.7579, 4.0924)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08113A #3A3108
analogous
#082A3A #08113A #18083A
triadic
#08113A #3A0811 #113A08
tetradic
#08113A #3A082A #3A3108 #083A18
square
#08113A #3A082A #3A3108 #083A18
split-complementary
#08113A #3A1808 #2A3A08
monochromatic
#04081B #04081B #08113A #0F2170 #1731A6

Accessibility & contrast

On white

18.24
#08113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08113A
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08113A#FFFFFF#000000##FFFFFF
##08113A1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08113a;
/* rgb */ color: rgb(8, 17, 58);
/* oklch */ color: oklch(20.2% 0.080 268.4);
Tailwind
colors: {
  custom: {
    50: '#514e71',
    500: '#08113a',
    950: '#000000',
  },
}
SCSS
$custom: #08113a;
$custom-light: #514e71;
$custom-dark: #000000;
JSON
{
  "hex": "#08113a",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 229.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20169,
    "c": 0.08008,
    "h": 268.4
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#08113A
secondary
#796A25
accent
#D035F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #08113A

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

Preview Lab → · Contrast checker → · Palette generator →

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