#081C3D#081C3D

#081C3D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.069 H 259.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#081C3D
RGBrgb(8, 28, 61)
HSLhsl(217, 77%, 14%)
HSVhsv(217, 87%, 24%)
CMYKcmyk(86.9%, 54.1%, 0%, 76.1%)
CIE-LABlab(10.70, 6.24, -23.52)
CIE-LCHlch(10.70, 24.33, 284.86°)
OKLaboklab(23.21% -0.0121 -0.0675)
OKLCHoklch(23.21% 0.069 259.8)
XYZxyz(1.3574, 1.2189, 4.5777)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C3D #3D2908
analogous
#08363D #081C3D #0E083D
triadic
#081C3D #3D081C #1C3D08
tetradic
#081C3D #3D0836 #3D2908 #083D0E
square
#081C3D #3D0836 #3D2908 #083D0E
split-complementary
#081C3D #3D0E08 #363D08
monochromatic
#040C1B #040C1B #081C3D #0F3573 #164EA9

Accessibility & contrast

On white

16.88
#081C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C3D
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C3D#FFFFFF#000000##FFFFFF
##081C3D1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3E
Deuteranopia (green-blind)
#011B3C
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081c3d;
/* rgb */ color: rgb(8, 28, 61);
/* oklch */ color: oklch(23.2% 0.069 259.8);
Tailwind
colors: {
  custom: {
    50: '#515773',
    500: '#081c3d',
    950: '#000000',
  },
}
SCSS
$custom: #081c3d;
$custom-light: #515773;
$custom-dark: #000000;
JSON
{
  "hex": "#081c3d",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 217.358,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23211,
    "c": 0.06858,
    "h": 259.8
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#081C3D
secondary
#7C5B25
accent
#AB34F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #081C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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