#081F3A#081F3A

#081F3A is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.8% C 0.059 H 254.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#081F3A
RGBrgb(8, 31, 58)
HSLhsl(212, 76%, 13%)
HSVhsv(212, 86%, 23%)
CMYKcmyk(86.2%, 46.6%, 0%, 77.3%)
CIE-LABlab(11.53, 2.53, -20.05)
CIE-LCHlch(11.53, 20.21, 277.18°)
OKLaboklab(23.79% -0.016 -0.0572)
OKLCHoklch(23.79% 0.059 254.4)
XYZxyz(1.3536, 1.3369, 4.1889)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F3A #3A2308
analogous
#08383A #081F3A #0A083A
triadic
#081F3A #3A081F #1F3A08
tetradic
#081F3A #3A0838 #3A2308 #083A0A
square
#081F3A #3A0838 #3A2308 #083A0A
split-complementary
#081F3A #3A0A08 #383A08
monochromatic
#040E1B #040E1B #081F3A #0F3C70 #1758A6

Accessibility & contrast

On white

16.57
#081F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081F3A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F3A#FFFFFF#000000##FFFFFF
##081F3A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081f3a;
/* rgb */ color: rgb(8, 31, 58);
/* oklch */ color: oklch(23.8% 0.059 254.4);
Tailwind
colors: {
  custom: {
    50: '#505a70',
    500: '#081f3a',
    950: '#000000',
  },
}
SCSS
$custom: #081f3a;
$custom-light: #505a70;
$custom-dark: #000000;
JSON
{
  "hex": "#081f3a",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 212.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23786,
    "c": 0.05944,
    "h": 254.4
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#081F3A
secondary
#795225
accent
#9B35F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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