#081F2F#081F2F

#081F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.042 H 242.1°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#081F2F
RGBrgb(8, 31, 47)
HSLhsl(205, 71%, 11%)
HSVhsv(205, 83%, 18%)
CMYKcmyk(83%, 34%, 0%, 81.6%)
CIE-LABlab(10.83, -2.43, -13.27)
CIE-LCHlch(10.83, 13.49, 259.64°)
OKLaboklab(23% -0.0198 -0.0374)
OKLCHoklch(23% 0.042 242.1)
XYZxyz(1.1030, 1.2367, 2.8694)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F2F #2F1808
analogous
#082F2B #081F2F #080B2F
triadic
#081F2F #2F081F #1F2F08
tetradic
#081F2F #2B082F #2F1808 #0B2F08
square
#081F2F #2B082F #2F1808 #0B2F08
split-complementary
#081F2F #2F080B #2F2B08
monochromatic
#04111A #04111A #081F2F #114163 #1A6498

Accessibility & contrast

On white

16.84
#081F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081F2F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F2F#FFFFFF#000000##FFFFFF
##081F2F1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F30
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081f2f;
/* rgb */ color: rgb(8, 31, 47);
/* oklch */ color: oklch(23.0% 0.042 242.1);
Tailwind
colors: {
  custom: {
    50: '#4d5a67',
    500: '#081f2f',
    950: '#000000',
  },
}
SCSS
$custom: #081f2f;
$custom-light: #4d5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#081f2f",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 204.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.23001,
    "c": 0.04235,
    "h": 242.1
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#081F2F
secondary
#6E4325
accent
#843AEE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #081F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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