#081E40#081E40

#081E40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.071 H 259.0°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#081E40
RGBrgb(8, 30, 64)
HSLhsl(216, 78%, 14%)
HSVhsv(216, 88%, 25%)
CMYKcmyk(87.5%, 53.1%, 0%, 74.9%)
CIE-LABlab(11.62, 6.06, -24.15)
CIE-LCHlch(11.62, 24.90, 284.09°)
OKLaboklab(24% -0.0135 -0.0693)
OKLCHoklch(24% 0.071 259)
XYZxyz(1.4895, 1.3502, 5.0316)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081E40 #402A08
analogous
#083A40 #081E40 #0E0840
triadic
#081E40 #40081E #1E4008
tetradic
#081E40 #40083A #402A08 #08400E
square
#081E40 #40083A #402A08 #08400E
split-complementary
#081E40 #400E08 #3A4008
monochromatic
#030D1B #030D1B #081E40 #0F3776 #1651AD

Accessibility & contrast

On white

16.54
#081E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#081E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081E40
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081E40#FFFFFF#000000##FFFFFF
##081E401.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2141
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081e40;
/* rgb */ color: rgb(8, 30, 64);
/* oklch */ color: oklch(24.0% 0.071 259.0);
Tailwind
colors: {
  custom: {
    50: '#515975',
    500: '#081e40',
    950: '#000000',
  },
}
SCSS
$custom: #081e40;
$custom-light: #515975;
$custom-dark: #000000;
JSON
{
  "hex": "#081e40",
  "rgb": {
    "r": 8,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 216.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23999,
    "c": 0.07061,
    "h": 259
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#081E40
secondary
#7E5B25
accent
#A934F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081E40

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

Preview Lab → · Contrast checker → · Palette generator →

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