#081C3E#081C3E

#081C3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.070 H 260.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#081C3E
RGBrgb(8, 28, 62)
HSLhsl(218, 77%, 14%)
HSVhsv(218, 87%, 24%)
CMYKcmyk(87.1%, 54.8%, 0%, 75.7%)
CIE-LABlab(10.78, 6.70, -24.10)
CIE-LCHlch(10.78, 25.01, 285.54°)
OKLaboklab(23.3% -0.0119 -0.0692)
OKLCHoklch(23.3% 0.07 260.2)
XYZxyz(1.3846, 1.2298, 4.7209)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C3E #3E2A08
analogous
#08373E #081C3E #0F083E
triadic
#081C3E #3E081C #1C3E08
tetradic
#081C3E #3E0837 #3E2A08 #083E0F
square
#081C3E #3E0837 #3E2A08 #083E0F
split-complementary
#081C3E #3E0F08 #373E08
monochromatic
#030C1B #030C1B #081C3E #0F3474 #164DAA

Accessibility & contrast

On white

16.85
#081C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C3E
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C3E#FFFFFF#000000##FFFFFF
##081C3E1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09203F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081c3e;
/* rgb */ color: rgb(8, 28, 62);
/* oklch */ color: oklch(23.3% 0.070 260.2);
Tailwind
colors: {
  custom: {
    50: '#515773',
    500: '#081c3e',
    950: '#000000',
  },
}
SCSS
$custom: #081c3e;
$custom-light: #515773;
$custom-dark: #000000;
JSON
{
  "hex": "#081c3e",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 217.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.07023,
    "h": 260.2
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#081C3E
secondary
#7D5C25
accent
#AD34F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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