#081139#081139

#081139 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.078 H 268.4°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#081139
RGBrgb(8, 17, 57)
HSLhsl(229, 75%, 13%)
HSVhsv(229, 86%, 22%)
CMYKcmyk(86%, 70.2%, 0%, 77.6%)
CIE-LABlab(6.75, 12.88, -27.03)
CIE-LCHlch(6.75, 29.94, 295.48°)
OKLaboklab(20.06% -0.0022 -0.0784)
OKLCHoklch(20.06% 0.078 268.4)
XYZxyz(1.0389, 0.7478, 3.9597)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081139 #393008
analogous
#082939 #081139 #180839
triadic
#081139 #390811 #113908
tetradic
#081139 #390829 #393008 #083918
square
#081139 #390829 #393008 #083918
split-complementary
#081139 #391808 #293908
monochromatic
#04081B #04081B #081139 #10216F #1731A4

Accessibility & contrast

On white

18.27
#081139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#081139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081139
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081139#FFFFFF#000000##FFFFFF
##0811391.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #081139;
/* rgb */ color: rgb(8, 17, 57);
/* oklch */ color: oklch(20.1% 0.078 268.4);
Tailwind
colors: {
  custom: {
    50: '#504e70',
    500: '#081139',
    950: '#000000',
  },
}
SCSS
$custom: #081139;
$custom-light: #504e70;
$custom-dark: #000000;
JSON
{
  "hex": "#081139",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 228.98,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20062,
    "c": 0.07845,
    "h": 268.4
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#081139
secondary
#786925
accent
#CF36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #081139

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

Preview Lab → · Contrast checker → · Palette generator →

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