#081135#081135

#081135 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.072 H 268.2°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#081135
RGBrgb(8, 17, 53)
HSLhsl(228, 74%, 12%)
HSVhsv(228, 85%, 21%)
CMYKcmyk(84.9%, 67.9%, 0%, 79.2%)
CIE-LABlab(6.41, 10.85, -24.68)
CIE-LCHlch(6.41, 26.96, 293.73°)
OKLaboklab(19.65% -0.0023 -0.0718)
OKLCHoklch(19.65% 0.072 268.2)
XYZxyz(0.9430, 0.7095, 3.4547)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081135 #352C08
analogous
#082835 #081135 #160835
triadic
#081135 #350811 #113508
tetradic
#081135 #350828 #352C08 #083516
square
#081135 #350828 #352C08 #083516
split-complementary
#081135 #351608 #283508
monochromatic
#04091B #04091B #081135 #10226A #18339F

Accessibility & contrast

On white

18.39
#081135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#081135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081135
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081135#FFFFFF#000000##FFFFFF
##0811351.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #081135;
/* rgb */ color: rgb(8, 17, 53);
/* oklch */ color: oklch(19.6% 0.072 268.2);
Tailwind
colors: {
  custom: {
    50: '#4f4e6c',
    500: '#081135',
    950: '#000000',
  },
}
SCSS
$custom: #081135;
$custom-light: #4f4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#081135",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 228,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19645,
    "c": 0.0718,
    "h": 268.2
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#081135
secondary
#746425
accent
#CB37F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #081135

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

Preview Lab → · Contrast checker → · Palette generator →

#081135 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva