#081837#081837

#081837 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.064 H 261.9°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#081837
RGBrgb(8, 24, 55)
HSLhsl(220, 75%, 12%)
HSVhsv(220, 85%, 22%)
CMYKcmyk(85.5%, 56.4%, 0%, 78.4%)
CIE-LABlab(8.83, 6.63, -22.23)
CIE-LCHlch(8.83, 23.20, 286.60°)
OKLaboklab(21.63% -0.0091 -0.0638)
OKLCHoklch(21.63% 0.064 261.9)
XYZxyz(1.1161, 0.9806, 3.7441)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081837 #372708
analogous
#083037 #081837 #0F0837
triadic
#081837 #370818 #183708
tetradic
#081837 #370830 #372708 #08370F
square
#081837 #370830 #372708 #08370F
split-complementary
#081837 #370F08 #303708
monochromatic
#040C1B #040C1B #081837 #102F6C #1847A2

Accessibility & contrast

On white

17.56
#081837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#081837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081837
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081837#FFFFFF#000000##FFFFFF
##0818371.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B38
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081837;
/* rgb */ color: rgb(8, 24, 55);
/* oklch */ color: oklch(21.6% 0.064 261.9);
Tailwind
colors: {
  custom: {
    50: '#4f546e',
    500: '#081837',
    950: '#000000',
  },
}
SCSS
$custom: #081837;
$custom-light: #4f546e;
$custom-dark: #000000;
JSON
{
  "hex": "#081837",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 219.574,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21625,
    "c": 0.06446,
    "h": 261.9
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#081837
secondary
#765A25
accent
#B237F1
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081837

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

Preview Lab → · Contrast checker → · Palette generator →

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