#08113E#08113E

#08113E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.087 H 268.5°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#08113E
RGBrgb(8, 17, 62)
HSLhsl(230, 77%, 14%)
HSVhsv(230, 87%, 24%)
CMYKcmyk(87.1%, 72.6%, 0%, 75.7%)
CIE-LABlab(7.23, 15.32, -29.86)
CIE-LCHlch(7.23, 33.56, 297.16°)
OKLaboklab(20.61% -0.0023 -0.0865)
OKLCHoklch(20.61% 0.087 268.5)
XYZxyz(1.1698, 0.8002, 4.6493)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08113E #3E3508
analogous
#082C3E #08113E #1A083E
triadic
#08113E #3E0811 #113E08
tetradic
#08113E #3E082C #3E3508 #083E1A
square
#08113E #3E082C #3E3508 #083E1A
split-complementary
#08113E #3E1A08 #2C3E08
monochromatic
#03071B #03071B #08113E #0F2074 #162FAA

Accessibility & contrast

On white

18.10
#08113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#08113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08113E
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08113E#FFFFFF#000000##FFFFFF
##08113E1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08113e;
/* rgb */ color: rgb(8, 17, 62);
/* oklch */ color: oklch(20.6% 0.087 268.5);
Tailwind
colors: {
  custom: {
    50: '#524e74',
    500: '#08113e',
    950: '#000000',
  },
}
SCSS
$custom: #08113e;
$custom-light: #524e74;
$custom-dark: #000000;
JSON
{
  "hex": "#08113e",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 230,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20606,
    "c": 0.08651,
    "h": 268.5
  },
  "luminance": 0.008
}

Semantic roles & 50–950 ramp

primary
#08113E
secondary
#7D6E25
accent
#D434F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #08113E

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

Preview Lab → · Contrast checker → · Palette generator →

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