#081839#081839

#081839 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.068 H 262.6°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#081839
RGBrgb(8, 24, 57)
HSLhsl(220, 75%, 13%)
HSVhsv(220, 86%, 22%)
CMYKcmyk(86%, 57.9%, 0%, 77.6%)
CIE-LABlab(8.99, 7.55, -23.40)
CIE-LCHlch(8.99, 24.59, 287.89°)
OKLaboklab(21.8% -0.0088 -0.0673)
OKLCHoklch(21.8% 0.068 262.6)
XYZxyz(1.1650, 1.0002, 4.0018)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081839 #392908
analogous
#083039 #081839 #100839
triadic
#081839 #390818 #183908
tetradic
#081839 #390830 #392908 #083910
square
#081839 #390830 #392908 #083910
split-complementary
#081839 #391008 #303908
monochromatic
#040B1B #040B1B #081839 #102F6F #1745A4

Accessibility & contrast

On white

17.50
#081839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081839
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081839#FFFFFF#000000##FFFFFF
##0818391.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081839;
/* rgb */ color: rgb(8, 24, 57);
/* oklch */ color: oklch(21.8% 0.068 262.6);
Tailwind
colors: {
  custom: {
    50: '#505470',
    500: '#081839',
    950: '#000000',
  },
}
SCSS
$custom: #081839;
$custom-light: #505470;
$custom-dark: #000000;
JSON
{
  "hex": "#081839",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 220.408,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21803,
    "c": 0.06784,
    "h": 262.6
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#081839
secondary
#785D25
accent
#B536F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081839

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

Preview Lab → · Contrast checker → · Palette generator →

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