#081F3B#081F3B

#081F3B is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.9% C 0.061 H 255.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#081F3B
RGBrgb(8, 31, 59)
HSLhsl(213, 76%, 13%)
HSVhsv(213, 86%, 23%)
CMYKcmyk(86.4%, 47.5%, 0%, 76.9%)
CIE-LABlab(11.60, 2.99, -20.65)
CIE-LCHlch(11.60, 20.86, 278.23°)
OKLaboklab(23.86% -0.0157 -0.059)
OKLCHoklch(23.86% 0.061 255.1)
XYZxyz(1.3793, 1.3472, 4.3242)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F3B #3B2408
analogous
#08383B #081F3B #0A083B
triadic
#081F3B #3B081F #1F3B08
tetradic
#081F3B #3B0838 #3B2408 #083B0A
square
#081F3B #3B0838 #3B2408 #083B0A
split-complementary
#081F3B #3B0A08 #383B08
monochromatic
#040E1B #040E1B #081F3B #0F3B71 #1758A7

Accessibility & contrast

On white

16.54
#081F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081F3B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F3B#FFFFFF#000000##FFFFFF
##081F3B1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213C
Deuteranopia (green-blind)
#091D3A
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081f3b;
/* rgb */ color: rgb(8, 31, 59);
/* oklch */ color: oklch(23.9% 0.061 255.1);
Tailwind
colors: {
  custom: {
    50: '#505a71',
    500: '#081f3b',
    950: '#000000',
  },
}
SCSS
$custom: #081f3b;
$custom-light: #505a71;
$custom-dark: #000000;
JSON
{
  "hex": "#081f3b",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 212.941,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23864,
    "c": 0.06106,
    "h": 255.1
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#081F3B
secondary
#7A5425
accent
#9D35F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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