#081939#081939

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

Color values

HEX#081939
RGBrgb(8, 25, 57)
HSLhsl(219, 75%, 13%)
HSVhsv(219, 86%, 22%)
CMYKcmyk(86%, 56.1%, 0%, 77.6%)
CIE-LABlab(9.34, 6.76, -22.85)
CIE-LCHlch(9.34, 23.83, 286.47°)
OKLaboklab(22.07% -0.0098 -0.0656)
OKLCHoklch(22.07% 0.066 261.5)
XYZxyz(1.1860, 1.0422, 4.0088)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081939 #392808
analogous
#083139 #081939 #100839
triadic
#081939 #390819 #193908
tetradic
#081939 #390831 #392808 #083910
square
#081939 #390831 #392808 #083910
split-complementary
#081939 #391008 #313908
monochromatic
#040C1B #040C1B #081939 #10316F #1748A4

Accessibility & contrast

On white

17.38
#081939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081939
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081939#FFFFFF#000000##FFFFFF
##0819391.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081939;
/* rgb */ color: rgb(8, 25, 57);
/* oklch */ color: oklch(22.1% 0.066 261.5);
Tailwind
colors: {
  custom: {
    50: '#50556f',
    500: '#081939',
    950: '#000000',
  },
}
SCSS
$custom: #081939;
$custom-light: #50556f;
$custom-dark: #000000;
JSON
{
  "hex": "#081939",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 219.184,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22067,
    "c": 0.06633,
    "h": 261.5
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#081939
secondary
#785B25
accent
#B136F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081939

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

Preview Lab → · Contrast checker → · Palette generator →

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