#081F3F#081F3F

#081F3F is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.2% C 0.068 H 257.4°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#081F3F
RGBrgb(8, 31, 63)
HSLhsl(215, 77%, 14%)
HSVhsv(215, 87%, 25%)
CMYKcmyk(87.3%, 50.8%, 0%, 75.3%)
CIE-LABlab(11.89, 4.82, -23.01)
CIE-LCHlch(11.89, 23.51, 281.84°)
OKLaboklab(24.18% -0.0147 -0.0659)
OKLCHoklch(24.18% 0.068 257.4)
XYZxyz(1.4870, 1.3903, 4.8916)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F3F #3F2808
analogous
#083B3F #081F3F #0D083F
triadic
#081F3F #3F081F #1F3F08
tetradic
#081F3F #3F083B #3F2808 #083F0D
square
#081F3F #3F083B #3F2808 #083F0D
split-complementary
#081F3F #3F0D08 #3B3F08
monochromatic
#030D1B #030D1B #081F3F #0F3A75 #1654AC

Accessibility & contrast

On white

16.43
#081F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#081F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F3F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F3F#FFFFFF#000000##FFFFFF
##081F3F1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2240
Deuteranopia (green-blind)
#041D3E
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081f3f;
/* rgb */ color: rgb(8, 31, 63);
/* oklch */ color: oklch(24.2% 0.068 257.4);
Tailwind
colors: {
  custom: {
    50: '#515a74',
    500: '#081f3f',
    950: '#000000',
  },
}
SCSS
$custom: #081f3f;
$custom-light: #515a74;
$custom-dark: #000000;
JSON
{
  "hex": "#081f3f",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 214.909,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24184,
    "c": 0.06757,
    "h": 257.4
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#081F3F
secondary
#7E5925
accent
#A434F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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