#081A3E#081A3E

#081A3E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.073 H 262.2°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#081A3E
RGBrgb(8, 26, 62)
HSLhsl(220, 77%, 14%)
HSVhsv(220, 87%, 24%)
CMYKcmyk(87.1%, 58.1%, 0%, 75.7%)
CIE-LABlab(10.09, 8.28, -25.20)
CIE-LCHlch(10.09, 26.52, 288.19°)
OKLaboklab(22.78% -0.01 -0.0725)
OKLCHoklch(22.78% 0.073 262.2)
XYZxyz(1.3387, 1.1381, 4.7056)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A3E #3E2C08
analogous
#08353E #081A3E #11083E
triadic
#081A3E #3E081A #1A3E08
tetradic
#081A3E #3E0835 #3E2C08 #083E11
square
#081A3E #3E0835 #3E2C08 #083E11
split-complementary
#081A3E #3E1108 #353E08
monochromatic
#030B1B #030B1B #081A3E #0F3174 #1647AA

Accessibility & contrast

On white

17.11
#081A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A3E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A3E#FFFFFF#000000##FFFFFF
##081A3E1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081a3e;
/* rgb */ color: rgb(8, 26, 62);
/* oklch */ color: oklch(22.8% 0.073 262.2);
Tailwind
colors: {
  custom: {
    50: '#515573',
    500: '#081a3e',
    950: '#000000',
  },
}
SCSS
$custom: #081a3e;
$custom-light: #515573;
$custom-dark: #000000;
JSON
{
  "hex": "#081a3e",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 220,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22775,
    "c": 0.07318,
    "h": 262.2
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#081A3E
secondary
#7D5F25
accent
#B434F4
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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