#081C39#081C39

#081C39 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 22.9% C 0.062 H 257.9°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#081C39
RGBrgb(8, 28, 57)
HSLhsl(216, 75%, 13%)
HSVhsv(216, 86%, 22%)
CMYKcmyk(86%, 50.9%, 0%, 77.6%)
CIE-LABlab(10.39, 4.39, -21.16)
CIE-LCHlch(10.39, 21.61, 281.71°)
OKLaboklab(22.88% -0.013 -0.0606)
OKLCHoklch(22.88% 0.062 257.9)
XYZxyz(1.2536, 1.1774, 4.0313)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C39 #392508
analogous
#083439 #081C39 #0C0839
triadic
#081C39 #39081C #1C3908
tetradic
#081C39 #390834 #392508 #08390C
square
#081C39 #390834 #392508 #08390C
split-complementary
#081C39 #390C08 #343908
monochromatic
#040D1B #040D1B #081C39 #10366F #1751A4

Accessibility & contrast

On white

17.00
#081C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C39
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C39#FFFFFF#000000##FFFFFF
##081C391.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1F3A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081c39;
/* rgb */ color: rgb(8, 28, 57);
/* oklch */ color: oklch(22.9% 0.062 257.9);
Tailwind
colors: {
  custom: {
    50: '#50576f',
    500: '#081c39',
    950: '#000000',
  },
}
SCSS
$custom: #081c39;
$custom-light: #50576f;
$custom-dark: #000000;
JSON
{
  "hex": "#081c39",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 215.51,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22876,
    "c": 0.06195,
    "h": 257.9
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#081C39
secondary
#785625
accent
#A536F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081C39

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

Preview Lab → · Contrast checker → · Palette generator →

#081C39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva