#081F38#081F38

#081F38 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.056 H 252.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#081F38
RGBrgb(8, 31, 56)
HSLhsl(211, 75%, 13%)
HSVhsv(211, 86%, 22%)
CMYKcmyk(85.7%, 44.6%, 0%, 78%)
CIE-LABlab(11.39, 1.61, -18.84)
CIE-LCHlch(11.39, 18.91, 274.89°)
OKLaboklab(23.63% -0.0166 -0.0537)
OKLCHoklch(23.63% 0.056 252.8)
XYZxyz(1.3037, 1.3170, 3.9261)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F38 #382108
analogous
#083738 #081F38 #090838
triadic
#081F38 #38081F #1F3808
tetradic
#081F38 #380837 #382108 #083809
square
#081F38 #380837 #382108 #083809
split-complementary
#081F38 #380908 #373808
monochromatic
#040F1B #040F1B #081F38 #103D6E #175AA3

Accessibility & contrast

On white

16.62
#081F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#081F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F38
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F38#FFFFFF#000000##FFFFFF
##081F381.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#0C1C38
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081f38;
/* rgb */ color: rgb(8, 31, 56);
/* oklch */ color: oklch(23.6% 0.056 252.8);
Tailwind
colors: {
  custom: {
    50: '#4f5a6f',
    500: '#081f38',
    950: '#000000',
  },
}
SCSS
$custom: #081f38;
$custom-light: #4f5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#081f38",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 211.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23634,
    "c": 0.05622,
    "h": 252.8
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#081F38
secondary
#775025
accent
#9836F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081F38

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

Preview Lab → · Contrast checker → · Palette generator →

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