#081D3B#081D3B

#081D3B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.064 H 257.7°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#081D3B
RGBrgb(8, 29, 59)
HSLhsl(215, 76%, 13%)
HSVhsv(215, 86%, 23%)
CMYKcmyk(86.4%, 50.8%, 0%, 76.9%)
CIE-LABlab(10.89, 4.53, -21.78)
CIE-LCHlch(10.89, 22.25, 281.75°)
OKLaboklab(23.31% -0.0136 -0.0624)
OKLCHoklch(23.31% 0.064 257.7)
XYZxyz(1.3286, 1.2460, 4.3073)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081D3B #3B2608
analogous
#08363B #081D3B #0C083B
triadic
#081D3B #3B081D #1D3B08
tetradic
#081D3B #3B0836 #3B2608 #083B0C
square
#081D3B #3B0836 #3B2608 #083B0C
split-complementary
#081D3B #3B0C08 #363B08
monochromatic
#040D1B #040D1B #081D3B #0F3771 #1752A7

Accessibility & contrast

On white

16.81
#081D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081D3B
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081D3B#FFFFFF#000000##FFFFFF
##081D3B1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081d3b;
/* rgb */ color: rgb(8, 29, 59);
/* oklch */ color: oklch(23.3% 0.064 257.7);
Tailwind
colors: {
  custom: {
    50: '#505871',
    500: '#081d3b',
    950: '#000000',
  },
}
SCSS
$custom: #081d3b;
$custom-light: #505871;
$custom-dark: #000000;
JSON
{
  "hex": "#081d3b",
  "rgb": {
    "r": 8,
    "g": 29,
    "b": 59
  },
  "hsl": {
    "h": 215.294,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23313,
    "c": 0.06384,
    "h": 257.7
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#081D3B
secondary
#7A5725
accent
#A535F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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