#081D3E#081D3E

#081D3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.069 H 259.2°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#081D3E
RGBrgb(8, 29, 62)
HSLhsl(217, 77%, 14%)
HSVhsv(217, 87%, 24%)
CMYKcmyk(87.1%, 53.2%, 0%, 75.7%)
CIE-LABlab(11.12, 5.92, -23.54)
CIE-LCHlch(11.12, 24.27, 284.11°)
OKLaboklab(23.56% -0.0129 -0.0675)
OKLCHoklch(23.56% 0.069 259.2)
XYZxyz(1.4087, 1.2780, 4.7289)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081D3E #3E2908
analogous
#08383E #081D3E #0E083E
triadic
#081D3E #3E081D #1D3E08
tetradic
#081D3E #3E0838 #3E2908 #083E0E
square
#081D3E #3E0838 #3E2908 #083E0E
split-complementary
#081D3E #3E0E08 #383E08
monochromatic
#030D1B #030D1B #081D3E #0F3674 #1650AA

Accessibility & contrast

On white

16.73
#081D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#081D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081D3E
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081D3E#FFFFFF#000000##FFFFFF
##081D3E1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081d3e;
/* rgb */ color: rgb(8, 29, 62);
/* oklch */ color: oklch(23.6% 0.069 259.2);
Tailwind
colors: {
  custom: {
    50: '#515873',
    500: '#081d3e',
    950: '#000000',
  },
}
SCSS
$custom: #081d3e;
$custom-light: #515873;
$custom-dark: #000000;
JSON
{
  "hex": "#081d3e",
  "rgb": {
    "r": 8,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 216.667,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23563,
    "c": 0.06877,
    "h": 259.2
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#081D3E
secondary
#7D5B25
accent
#A934F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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