#081F31#081F31

#081F31 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.1% C 0.045 H 245.2°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#081F31
RGBrgb(8, 31, 49)
HSLhsl(206, 72%, 11%)
HSVhsv(206, 84%, 19%)
CMYKcmyk(83.7%, 36.7%, 0%, 80.8%)
CIE-LABlab(10.94, -1.54, -14.53)
CIE-LCHlch(10.94, 14.61, 263.94°)
OKLaboklab(23.13% -0.019 -0.0411)
OKLCHoklch(23.13% 0.045 245.2)
XYZxyz(1.1443, 1.2532, 3.0867)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F31 #311A08
analogous
#08312E #081F31 #080A31
triadic
#081F31 #31081F #1F3108
tetradic
#081F31 #2E0831 #311A08 #0A3108
square
#081F31 #2E0831 #311A08 #0A3108
split-complementary
#081F31 #31080A #312E08
monochromatic
#04111A #04111A #081F31 #114066 #19629A

Accessibility & contrast

On white

16.79
#081F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F31
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F31#FFFFFF#000000##FFFFFF
##081F311.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172032
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081f31;
/* rgb */ color: rgb(8, 31, 49);
/* oklch */ color: oklch(23.1% 0.045 245.2);
Tailwind
colors: {
  custom: {
    50: '#4d5a69',
    500: '#081f31',
    950: '#000000',
  },
}
SCSS
$custom: #081f31;
$custom-light: #4d5a69;
$custom-dark: #000000;
JSON
{
  "hex": "#081f31",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 206.341,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23134,
    "c": 0.04528,
    "h": 245.2
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#081F31
secondary
#704625
accent
#8939EF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #081F31

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

Preview Lab → · Contrast checker → · Palette generator →

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