#081D3C#081D3C

#081D3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.4% C 0.065 H 258.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#081D3C
RGBrgb(8, 29, 60)
HSLhsl(216, 76%, 13%)
HSVhsv(216, 87%, 24%)
CMYKcmyk(86.7%, 51.7%, 0%, 76.5%)
CIE-LABlab(10.97, 4.99, -22.37)
CIE-LCHlch(10.97, 22.92, 282.58°)
OKLaboklab(23.4% -0.0133 -0.0641)
OKLCHoklch(23.4% 0.065 258.2)
XYZxyz(1.3548, 1.2564, 4.4452)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081D3C #3C2708
analogous
#08373C #081D3C #0D083C
triadic
#081D3C #3C081D #1D3C08
tetradic
#081D3C #3C0837 #3C2708 #083C0D
square
#081D3C #3C0837 #3C2708 #083C0D
split-complementary
#081D3C #3C0D08 #373C08
monochromatic
#040D1B #040D1B #081D3C #0F3772 #1651A8

Accessibility & contrast

On white

16.78
#081D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081D3C
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081D3C#FFFFFF#000000##FFFFFF
##081D3C1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#041B3B
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081d3c;
/* rgb */ color: rgb(8, 29, 60);
/* oklch */ color: oklch(23.4% 0.065 258.2);
Tailwind
colors: {
  custom: {
    50: '#505872',
    500: '#081d3c',
    950: '#000000',
  },
}
SCSS
$custom: #081d3c;
$custom-light: #505872;
$custom-dark: #000000;
JSON
{
  "hex": "#081d3c",
  "rgb": {
    "r": 8,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 215.769,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23396,
    "c": 0.06548,
    "h": 258.2
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#081D3C
secondary
#7B5825
accent
#A635F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #081D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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