#081140#081140

#081140 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.090 H 268.5°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#081140
RGBrgb(8, 17, 64)
HSLhsl(230, 78%, 14%)
HSVhsv(230, 88%, 25%)
CMYKcmyk(87.5%, 73.4%, 0%, 74.9%)
CIE-LABlab(7.43, 16.26, -30.95)
CIE-LCHlch(7.43, 34.97, 297.72°)
OKLaboklab(20.83% -0.0024 -0.0896)
OKLCHoklch(20.83% 0.09 268.5)
XYZxyz(1.2257, 0.8225, 4.9437)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081140 #403708
analogous
#082D40 #081140 #1B0840
triadic
#081140 #400811 #114008
tetradic
#081140 #40082D #403708 #08401B
square
#081140 #40082D #403708 #08401B
split-complementary
#081140 #401B08 #2D4008
monochromatic
#03071B #03071B #081140 #0F1F76 #162EAD

Accessibility & contrast

On white

18.03
#081140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081140
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081140#FFFFFF#000000##FFFFFF
##0811401.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #081140;
/* rgb */ color: rgb(8, 17, 64);
/* oklch */ color: oklch(20.8% 0.090 268.5);
Tailwind
colors: {
  custom: {
    50: '#534e75',
    500: '#081140',
    950: '#000000',
  },
}
SCSS
$custom: #081140;
$custom-light: #534e75;
$custom-dark: #000000;
JSON
{
  "hex": "#081140",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 230.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20829,
    "c": 0.08966,
    "h": 268.5
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#081140
secondary
#7E7025
accent
#D534F4
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #081140

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

Preview Lab → · Contrast checker → · Palette generator →

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