#081838#081838

#081838 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.066 H 262.2°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#081838
RGBrgb(8, 24, 56)
HSLhsl(220, 75%, 13%)
HSVhsv(220, 86%, 22%)
CMYKcmyk(85.7%, 57.1%, 0%, 78%)
CIE-LABlab(8.91, 7.09, -22.82)
CIE-LCHlch(8.91, 23.89, 287.26°)
OKLaboklab(21.71% -0.0089 -0.0655)
OKLCHoklch(21.71% 0.066 262.2)
XYZxyz(1.1403, 0.9903, 3.8717)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081838 #382808
analogous
#083038 #081838 #100838
triadic
#081838 #380818 #183808
tetradic
#081838 #380830 #382808 #083810
square
#081838 #380830 #382808 #083810
split-complementary
#081838 #381008 #303808
monochromatic
#040B1B #040B1B #081838 #102F6E #1746A3

Accessibility & contrast

On white

17.53
#081838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081838
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081838#FFFFFF#000000##FFFFFF
##0818381.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C39
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081838;
/* rgb */ color: rgb(8, 24, 56);
/* oklch */ color: oklch(21.7% 0.066 262.2);
Tailwind
colors: {
  custom: {
    50: '#4f546f',
    500: '#081838',
    950: '#000000',
  },
}
SCSS
$custom: #081838;
$custom-light: #4f546f;
$custom-dark: #000000;
JSON
{
  "hex": "#081838",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.06614,
    "h": 262.2
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#081838
secondary
#775C25
accent
#B336F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081838

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

Preview Lab → · Contrast checker → · Palette generator →

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