#081B3E#081B3E

#081B3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.072 H 261.2°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#081B3E
RGBrgb(8, 27, 62)
HSLhsl(219, 77%, 14%)
HSVhsv(219, 87%, 24%)
CMYKcmyk(87.1%, 56.5%, 0%, 75.7%)
CIE-LABlab(10.43, 7.49, -24.65)
CIE-LCHlch(10.43, 25.76, 286.91°)
OKLaboklab(23.04% -0.0109 -0.0709)
OKLCHoklch(23.04% 0.072 261.2)
XYZxyz(1.3613, 1.1831, 4.7131)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B3E #3E2B08
analogous
#08363E #081B3E #10083E
triadic
#081B3E #3E081B #1B3E08
tetradic
#081B3E #3E0836 #3E2B08 #083E10
square
#081B3E #3E0836 #3E2B08 #083E10
split-complementary
#081B3E #3E1008 #363E08
monochromatic
#030C1B #030C1B #081B3E #0F3374 #164AAA

Accessibility & contrast

On white

16.98
#081B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B3E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B3E#FFFFFF#000000##FFFFFF
##081B3E1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081b3e;
/* rgb */ color: rgb(8, 27, 62);
/* oklch */ color: oklch(23.0% 0.072 261.2);
Tailwind
colors: {
  custom: {
    50: '#515673',
    500: '#081b3e',
    950: '#000000',
  },
}
SCSS
$custom: #081b3e;
$custom-light: #515673;
$custom-dark: #000000;
JSON
{
  "hex": "#081b3e",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 218.889,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23035,
    "c": 0.0717,
    "h": 261.2
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#081B3E
secondary
#7D5E25
accent
#B034F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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