#081F3C#081F3C

#081F3C is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.063 H 255.7°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#081F3C
RGBrgb(8, 31, 60)
HSLhsl(213, 76%, 13%)
HSVhsv(213, 87%, 24%)
CMYKcmyk(86.7%, 48.3%, 0%, 76.5%)
CIE-LABlab(11.67, 3.44, -21.24)
CIE-LCHlch(11.67, 21.52, 279.20°)
OKLaboklab(23.94% -0.0155 -0.0607)
OKLCHoklch(23.94% 0.063 255.7)
XYZxyz(1.4054, 1.3577, 4.4621)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F3C #3C2508
analogous
#08393C #081F3C #0B083C
triadic
#081F3C #3C081F #1F3C08
tetradic
#081F3C #3C0839 #3C2508 #083C0B
square
#081F3C #3C0839 #3C2508 #083C0B
split-complementary
#081F3C #3C0B08 #393C08
monochromatic
#040E1B #040E1B #081F3C #0F3B72 #1657A8

Accessibility & contrast

On white

16.51
#081F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081F3C
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F3C#FFFFFF#000000##FFFFFF
##081F3C1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213D
Deuteranopia (green-blind)
#081D3B
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #081f3c;
/* rgb */ color: rgb(8, 31, 60);
/* oklch */ color: oklch(23.9% 0.063 255.7);
Tailwind
colors: {
  custom: {
    50: '#505a72',
    500: '#081f3c',
    950: '#000000',
  },
}
SCSS
$custom: #081f3c;
$custom-light: #505a72;
$custom-dark: #000000;
JSON
{
  "hex": "#081f3c",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 213.462,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23942,
    "c": 0.06269,
    "h": 255.7
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#081F3C
secondary
#7B5525
accent
#9F35F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #081F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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