#081A4B#081A4B

#081A4B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.094 H 264.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#081A4B
RGBrgb(8, 26, 75)
HSLhsl(224, 81%, 16%)
HSVhsv(224, 89%, 29%)
CMYKcmyk(89.3%, 65.3%, 0%, 70.6%)
CIE-LABlab(11.26, 14.24, -32.40)
CIE-LCHlch(11.26, 35.39, 293.73°)
OKLaboklab(24.03% -0.0088 -0.0937)
OKLCHoklch(24.03% 0.094 264.7)
XYZxyz(1.7391, 1.2982, 6.8142)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A4B #4B3908
analogous
#083C4B #081A4B #18084B
triadic
#081A4B #4B081A #1A4B08
tetradic
#081A4B #4B083C #4B3908 #084B18
square
#081A4B #4B083C #4B3908 #084B18
split-complementary
#081A4B #4B1808 #3C4B08
monochromatic
#030A1C #030A1C #081A4B #0E2D82 #1440BA

Accessibility & contrast

On white

16.67
#081A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#081A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A4B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A4B#FFFFFF#000000##FFFFFF
##081A4B1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081a4b;
/* rgb */ color: rgb(8, 26, 75);
/* oklch */ color: oklch(24.0% 0.094 264.7);
Tailwind
colors: {
  custom: {
    50: '#55567e',
    500: '#081a4b',
    950: '#000000',
  },
}
SCSS
$custom: #081a4b;
$custom-light: #55567e;
$custom-dark: #000000;
JSON
{
  "hex": "#081a4b",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 223.881,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24028,
    "c": 0.09408,
    "h": 264.7
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#081A4B
secondary
#896E26
accent
#C231F7
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #081A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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