#081B31#081B31

#081B31 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.0% C 0.050 H 253.7°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#081B31
RGBrgb(8, 27, 49)
HSLhsl(212, 72%, 11%)
HSVhsv(212, 84%, 19%)
CMYKcmyk(83.7%, 44.9%, 0%, 80.8%)
CIE-LABlab(9.46, 1.49, -16.87)
CIE-LCHlch(9.46, 16.94, 275.04°)
OKLaboklab(21.97% -0.014 -0.048)
OKLCHoklch(21.97% 0.05 253.7)
XYZxyz(1.0462, 1.0571, 3.0540)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B31 #311E08
analogous
#082F31 #081B31 #090831
triadic
#081B31 #31081B #1B3108
tetradic
#081B31 #31082F #311E08 #083109
square
#081B31 #31082F #311E08 #083109
split-complementary
#081B31 #310908 #2F3108
monochromatic
#040E1A #040E1A #081B31 #113866 #19559A

Accessibility & contrast

On white

17.34
#081B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B31
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B31#FFFFFF#000000##FFFFFF
##081B311.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C32
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#002023
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081b31;
/* rgb */ color: rgb(8, 27, 49);
/* oklch */ color: oklch(22.0% 0.050 253.7);
Tailwind
colors: {
  custom: {
    50: '#4d5669',
    500: '#081b31',
    950: '#000000',
  },
}
SCSS
$custom: #081b31;
$custom-light: #4d5669;
$custom-dark: #000000;
JSON
{
  "hex": "#081b31",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 212.195,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21968,
    "c": 0.05002,
    "h": 253.7
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#081B31
secondary
#704D25
accent
#9B39EF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020306
muted
#78787A

Preview Lab

Preview with #081B31

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

Preview Lab → · Contrast checker → · Palette generator →

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