#081A3C#081A3C

#081A3C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.070 H 261.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#081A3C
RGBrgb(8, 26, 60)
HSLhsl(219, 76%, 13%)
HSVhsv(219, 87%, 24%)
CMYKcmyk(86.7%, 56.7%, 0%, 76.5%)
CIE-LABlab(9.93, 7.36, -24.04)
CIE-LCHlch(9.93, 25.15, 287.01°)
OKLaboklab(22.6% -0.0103 -0.0691)
OKLCHoklch(22.6% 0.07 261.5)
XYZxyz(1.2849, 1.1165, 4.4219)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A3C #3C2A08
analogous
#08343C #081A3C #10083C
triadic
#081A3C #3C081A #1A3C08
tetradic
#081A3C #3C0834 #3C2A08 #083C10
square
#081A3C #3C0834 #3C2A08 #083C10
split-complementary
#081A3C #3C1008 #343C08
monochromatic
#040C1B #040C1B #081A3C #0F3172 #1649A8

Accessibility & contrast

On white

17.17
#081A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A3C
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A3C#FFFFFF#000000##FFFFFF
##081A3C1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a3c;
/* rgb */ color: rgb(8, 26, 60);
/* oklch */ color: oklch(22.6% 0.070 261.5);
Tailwind
colors: {
  custom: {
    50: '#505572',
    500: '#081a3c',
    950: '#000000',
  },
}
SCSS
$custom: #081a3c;
$custom-light: #505572;
$custom-dark: #000000;
JSON
{
  "hex": "#081a3c",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 219.231,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22595,
    "c": 0.06986,
    "h": 261.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#081A3C
secondary
#7B5D25
accent
#B135F3
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020308
muted
#78787B

Preview Lab

Preview with #081A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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