#081A38#081A38

#081A38 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.063 H 259.9°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#081A38
RGBrgb(8, 26, 56)
HSLhsl(218, 75%, 13%)
HSVhsv(218, 86%, 22%)
CMYKcmyk(85.7%, 53.6%, 0%, 78%)
CIE-LABlab(9.61, 5.50, -21.70)
CIE-LCHlch(9.61, 22.38, 284.22°)
OKLaboklab(22.25% -0.011 -0.0622)
OKLCHoklch(22.25% 0.063 259.9)
XYZxyz(1.1831, 1.0758, 3.8859)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A38 #382608
analogous
#083238 #081A38 #0E0838
triadic
#081A38 #38081A #1A3808
tetradic
#081A38 #380832 #382608 #08380E
square
#081A38 #380832 #382608 #08380E
split-complementary
#081A38 #380E08 #323808
monochromatic
#040C1B #040C1B #081A38 #10336E #174CA3

Accessibility & contrast

On white

17.28
#081A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081A38
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A38#FFFFFF#000000##FFFFFF
##081A381.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D39
Deuteranopia (green-blind)
#031937
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a38;
/* rgb */ color: rgb(8, 26, 56);
/* oklch */ color: oklch(22.2% 0.063 259.9);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#081a38',
    950: '#000000',
  },
}
SCSS
$custom: #081a38;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#081a38",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 217.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22248,
    "c": 0.06317,
    "h": 259.9
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#081A38
secondary
#775825
accent
#AB36F2
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081A38

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

Preview Lab → · Contrast checker → · Palette generator →

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