#081039#081039

#081039 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.080 H 269.0°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#081039
RGBrgb(8, 16, 57)
HSLhsl(230, 75%, 13%)
HSVhsv(230, 86%, 22%)
CMYKcmyk(86%, 71.9%, 0%, 77.6%)
CIE-LABlab(6.48, 13.52, -27.47)
CIE-LCHlch(6.48, 30.62, 296.20°)
OKLaboklab(19.83% -0.0013 -0.0799)
OKLCHoklch(19.83% 0.08 269)
XYZxyz(1.0237, 0.7175, 3.9546)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081039 #393108
analogous
#082839 #081039 #180839
triadic
#081039 #390810 #103908
tetradic
#081039 #390828 #393108 #083918
square
#081039 #390828 #393108 #083918
split-complementary
#081039 #391808 #283908
monochromatic
#04081B #04081B #081039 #101F6F #172EA4

Accessibility & contrast

On white

18.36
#081039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#081039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081039
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081039#FFFFFF#000000##FFFFFF
##0810391.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #081039;
/* rgb */ color: rgb(8, 16, 57);
/* oklch */ color: oklch(19.8% 0.080 269.0);
Tailwind
colors: {
  custom: {
    50: '#504e70',
    500: '#081039',
    950: '#000000',
  },
}
SCSS
$custom: #081039;
$custom-light: #504e70;
$custom-dark: #000000;
JSON
{
  "hex": "#081039",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 230.204,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19832,
    "c": 0.07993,
    "h": 269
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#081039
secondary
#786A25
accent
#D336F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #081039

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

Preview Lab → · Contrast checker → · Palette generator →

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