#081A31#081A31

#081A31 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.051 H 255.6°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#081A31
RGBrgb(8, 26, 49)
HSLhsl(214, 72%, 11%)
HSVhsv(214, 84%, 19%)
CMYKcmyk(83.7%, 46.9%, 0%, 80.8%)
CIE-LABlab(9.09, 2.27, -17.46)
CIE-LCHlch(9.09, 17.60, 277.40°)
OKLaboklab(21.68% -0.0128 -0.0497)
OKLCHoklch(21.68% 0.051 255.6)
XYZxyz(1.0237, 1.0121, 3.0465)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A31 #311F08
analogous
#082E31 #081A31 #0A0831
triadic
#081A31 #31081A #1A3108
tetradic
#081A31 #31082E #311F08 #08310A
square
#081A31 #31082E #311F08 #08310A
split-complementary
#081A31 #310A08 #2E3108
monochromatic
#040E1A #040E1A #081A31 #113666 #19529A

Accessibility & contrast

On white

17.47
#081A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#081A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A31
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A31#FFFFFF#000000##FFFFFF
##081A311.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1C32
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081a31;
/* rgb */ color: rgb(8, 26, 49);
/* oklch */ color: oklch(21.7% 0.051 255.6);
Tailwind
colors: {
  custom: {
    50: '#4d5669',
    500: '#081a31',
    950: '#000000',
  },
}
SCSS
$custom: #081a31;
$custom-light: #4d5669;
$custom-dark: #000000;
JSON
{
  "hex": "#081a31",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 213.659,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21682,
    "c": 0.05136,
    "h": 255.6
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#081A31
secondary
#704F25
accent
#9F39EF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #081A31

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

Preview Lab → · Contrast checker → · Palette generator →

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