#08113F#08113F

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

Color values

HEX#08113F
RGBrgb(8, 17, 63)
HSLhsl(230, 77%, 14%)
HSVhsv(230, 87%, 25%)
CMYKcmyk(87.3%, 73%, 0%, 75.3%)
CIE-LABlab(7.33, 15.79, -30.41)
CIE-LCHlch(7.33, 34.26, 297.45°)
OKLaboklab(20.72% -0.0023 -0.0881)
OKLCHoklch(20.72% 0.088 268.5)
XYZxyz(1.1975, 0.8113, 4.7951)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08113F #3F3608
analogous
#082D3F #08113F #1B083F
triadic
#08113F #3F0811 #113F08
tetradic
#08113F #3F082D #3F3608 #083F1B
square
#08113F #3F082D #3F3608 #083F1B
split-complementary
#08113F #3F1B08 #2D3F08
monochromatic
#03071B #03071B #08113F #0F2075 #162EAC

Accessibility & contrast

On white

18.07
#08113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08113F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08113F#FFFFFF#000000##FFFFFF
##08113F1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08113f;
/* rgb */ color: rgb(8, 17, 63);
/* oklch */ color: oklch(20.7% 0.088 268.5);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#08113f',
    950: '#000000',
  },
}
SCSS
$custom: #08113f;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#08113f",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 230.182,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20717,
    "c": 0.08809,
    "h": 268.5
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#08113F
secondary
#7E6F25
accent
#D534F4
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #08113F

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

Preview Lab → · Contrast checker → · Palette generator →

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