#081B3D#081B3D

#081B3D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 22.9% C 0.070 H 260.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#081B3D
RGBrgb(8, 27, 61)
HSLhsl(218, 77%, 14%)
HSVhsv(218, 87%, 24%)
CMYKcmyk(86.9%, 55.7%, 0%, 76.1%)
CIE-LABlab(10.35, 7.03, -24.07)
CIE-LCHlch(10.35, 25.08, 286.27°)
OKLaboklab(22.95% -0.0111 -0.0692)
OKLCHoklch(22.95% 0.07 260.9)
XYZxyz(1.3341, 1.1723, 4.5699)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B3D #3D2A08
analogous
#08353D #081B3D #0F083D
triadic
#081B3D #3D081B #1B3D08
tetradic
#081B3D #3D0835 #3D2A08 #083D0F
square
#081B3D #3D0835 #3D2A08 #083D0F
split-complementary
#081B3D #3D0F08 #353D08
monochromatic
#040C1B #040C1B #081B3D #0F3373 #164BA9

Accessibility & contrast

On white

17.01
#081B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081B3D
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B3D#FFFFFF#000000##FFFFFF
##081B3D1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081b3d;
/* rgb */ color: rgb(8, 27, 61);
/* oklch */ color: oklch(22.9% 0.070 260.9);
Tailwind
colors: {
  custom: {
    50: '#515673',
    500: '#081b3d',
    950: '#000000',
  },
}
SCSS
$custom: #081b3d;
$custom-light: #515673;
$custom-dark: #000000;
JSON
{
  "hex": "#081b3d",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 218.491,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22947,
    "c": 0.07005,
    "h": 260.9
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#081B3D
secondary
#7C5D25
accent
#AF34F3
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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