#081D3F#081D3F

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

Color values

HEX#081D3F
RGBrgb(8, 29, 63)
HSLhsl(217, 77%, 14%)
HSVhsv(217, 87%, 25%)
CMYKcmyk(87.3%, 54%, 0%, 75.3%)
CIE-LABlab(11.20, 6.38, -24.12)
CIE-LCHlch(11.20, 24.95, 284.82°)
OKLaboklab(23.65% -0.0127 -0.0693)
OKLCHoklch(23.65% 0.07 259.6)
XYZxyz(1.4364, 1.2891, 4.8748)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081D3F #3F2A08
analogous
#08393F #081D3F #0F083F
triadic
#081D3F #3F081D #1D3F08
tetradic
#081D3F #3F0839 #3F2A08 #083F0F
square
#081D3F #3F0839 #3F2A08 #083F0F
split-complementary
#081D3F #3F0F08 #393F08
monochromatic
#030C1B #030C1B #081D3F #0F3675 #164FAC

Accessibility & contrast

On white

16.70
#081D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081D3F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081D3F#FFFFFF#000000##FFFFFF
##081D3F1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2140
Deuteranopia (green-blind)
#001C3E
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081d3f;
/* rgb */ color: rgb(8, 29, 63);
/* oklch */ color: oklch(23.6% 0.070 259.6);
Tailwind
colors: {
  custom: {
    50: '#515874',
    500: '#081d3f',
    950: '#000000',
  },
}
SCSS
$custom: #081d3f;
$custom-light: #515874;
$custom-dark: #000000;
JSON
{
  "hex": "#081d3f",
  "rgb": {
    "r": 8,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 217.091,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23648,
    "c": 0.07042,
    "h": 259.6
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#081D3F
secondary
#7E5C25
accent
#AB34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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