#081A3F#081A3F

#081A3F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.075 H 262.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#081A3F
RGBrgb(8, 26, 63)
HSLhsl(220, 77%, 14%)
HSVhsv(220, 87%, 25%)
CMYKcmyk(87.3%, 58.7%, 0%, 75.3%)
CIE-LABlab(10.18, 8.75, -25.77)
CIE-LCHlch(10.18, 27.22, 288.75°)
OKLaboklab(22.87% -0.0098 -0.0742)
OKLCHoklch(22.87% 0.075 262.5)
XYZxyz(1.3664, 1.1491, 4.8515)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A3F #3F2D08
analogous
#08363F #081A3F #12083F
triadic
#081A3F #3F081A #1A3F08
tetradic
#081A3F #3F0836 #3F2D08 #083F12
square
#081A3F #3F0836 #3F2D08 #083F12
split-complementary
#081A3F #3F1208 #363F08
monochromatic
#030B1B #030B1B #081A3F #0F3075 #1647AC

Accessibility & contrast

On white

17.08
#081A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081A3F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A3F#FFFFFF#000000##FFFFFF
##081A3F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081a3f;
/* rgb */ color: rgb(8, 26, 63);
/* oklch */ color: oklch(22.9% 0.075 262.5);
Tailwind
colors: {
  custom: {
    50: '#515574',
    500: '#081a3f',
    950: '#000000',
  },
}
SCSS
$custom: #081a3f;
$custom-light: #515574;
$custom-dark: #000000;
JSON
{
  "hex": "#081a3f",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 220.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22866,
    "c": 0.07483,
    "h": 262.5
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#081A3F
secondary
#7E6125
accent
#B534F4
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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