#081A47#081A47

#081A47 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.088 H 264.1°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#081A47
RGBrgb(8, 26, 71)
HSLhsl(223, 80%, 15%)
HSVhsv(223, 89%, 28%)
CMYKcmyk(88.7%, 63.4%, 0%, 72.2%)
CIE-LABlab(10.89, 12.43, -30.24)
CIE-LCHlch(10.89, 32.69, 292.34°)
OKLaboklab(23.63% -0.009 -0.0873)
OKLCHoklch(23.63% 0.088 264.1)
XYZxyz(1.6065, 1.2452, 6.1157)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A47 #473508
analogous
#083947 #081A47 #150847
triadic
#081A47 #47081A #1A4708
tetradic
#081A47 #470839 #473508 #084715
square
#081A47 #470839 #473508 #084715
split-complementary
#081A47 #471508 #394708
monochromatic
#030A1C #030A1C #081A47 #0E2E7E #1442B5

Accessibility & contrast

On white

16.81
#081A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A47
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A47#FFFFFF#000000##FFFFFF
##081A471.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081a47;
/* rgb */ color: rgb(8, 26, 71);
/* oklch */ color: oklch(23.6% 0.088 264.1);
Tailwind
colors: {
  custom: {
    50: '#54557b',
    500: '#081a47',
    950: '#000000',
  },
}
SCSS
$custom: #081a47;
$custom-light: #54557b;
$custom-dark: #000000;
JSON
{
  "hex": "#081a47",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 222.857,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23627,
    "c": 0.08778,
    "h": 264.1
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#081A47
secondary
#856A26
accent
#BE32F6
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#030309
muted
#78787B

Preview Lab

Preview with #081A47

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

Preview Lab → · Contrast checker → · Palette generator →

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