#081E42#081E42

#081E42 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.074 H 259.8°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#081E42
RGBrgb(8, 30, 66)
HSLhsl(217, 78%, 15%)
HSVhsv(217, 88%, 26%)
CMYKcmyk(87.9%, 54.5%, 0%, 74.1%)
CIE-LABlab(11.78, 6.99, -25.30)
CIE-LCHlch(11.78, 26.25, 285.44°)
OKLaboklab(24.17% -0.0131 -0.0727)
OKLCHoklch(24.17% 0.074 259.8)
XYZxyz(1.5474, 1.3733, 5.3367)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081E42 #422C08
analogous
#083B42 #081E42 #0F0842
triadic
#081E42 #42081E #1E4208
tetradic
#081E42 #42083B #422C08 #08420F
square
#081E42 #42083B #422C08 #08420F
split-complementary
#081E42 #420F08 #3B4208
monochromatic
#030C1B #030C1B #081E42 #0F3779 #1550AF

Accessibility & contrast

On white

16.47
#081E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081E42
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081E42#FFFFFF#000000##FFFFFF
##081E421.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081e42;
/* rgb */ color: rgb(8, 30, 66);
/* oklch */ color: oklch(24.2% 0.074 259.8);
Tailwind
colors: {
  custom: {
    50: '#525977',
    500: '#081e42',
    950: '#000000',
  },
}
SCSS
$custom: #081e42;
$custom-light: #525977;
$custom-dark: #000000;
JSON
{
  "hex": "#081e42",
  "rgb": {
    "r": 8,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 217.241,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2417,
    "c": 0.07387,
    "h": 259.8
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#081E42
secondary
#805E25
accent
#AB33F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081E42

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

Preview Lab → · Contrast checker → · Palette generator →

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