#081A3D#081A3D

#081A3D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.072 H 261.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#081A3D
RGBrgb(8, 26, 61)
HSLhsl(220, 77%, 14%)
HSVhsv(220, 87%, 24%)
CMYKcmyk(86.9%, 57.4%, 0%, 76.1%)
CIE-LABlab(10.01, 7.82, -24.62)
CIE-LCHlch(10.01, 25.83, 287.61°)
OKLaboklab(22.69% -0.0101 -0.0708)
OKLCHoklch(22.69% 0.072 261.9)
XYZxyz(1.3115, 1.1272, 4.5624)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A3D #3D2B08
analogous
#08343D #081A3D #10083D
triadic
#081A3D #3D081A #1A3D08
tetradic
#081A3D #3D0834 #3D2B08 #083D10
square
#081A3D #3D0834 #3D2B08 #083D10
split-complementary
#081A3D #3D1008 #343D08
monochromatic
#040C1B #040C1B #081A3D #0F3173 #1648A9

Accessibility & contrast

On white

17.14
#081A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A3D
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A3D#FFFFFF#000000##FFFFFF
##081A3D1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a3d;
/* rgb */ color: rgb(8, 26, 61);
/* oklch */ color: oklch(22.7% 0.072 261.9);
Tailwind
colors: {
  custom: {
    50: '#515573',
    500: '#081a3d',
    950: '#000000',
  },
}
SCSS
$custom: #081a3d;
$custom-light: #515573;
$custom-dark: #000000;
JSON
{
  "hex": "#081a3d",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 219.623,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22685,
    "c": 0.07153,
    "h": 261.9
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#081A3D
secondary
#7C5E25
accent
#B334F3
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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