#081A37#081A37

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

Color values

HEX#081A37
RGBrgb(8, 26, 55)
HSLhsl(217, 75%, 12%)
HSVhsv(217, 85%, 22%)
CMYKcmyk(85.5%, 52.7%, 0%, 78.4%)
CIE-LABlab(9.53, 5.04, -21.10)
CIE-LCHlch(9.53, 21.69, 283.42°)
OKLaboklab(22.16% -0.0113 -0.0604)
OKLCHoklch(22.16% 0.061 259.4)
XYZxyz(1.1589, 1.0661, 3.7584)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A37 #372508
analogous
#083237 #081A37 #0D0837
triadic
#081A37 #37081A #1A3708
tetradic
#081A37 #370832 #372508 #08370D
square
#081A37 #370832 #372508 #08370D
split-complementary
#081A37 #370D08 #323708
monochromatic
#040D1B #040D1B #081A37 #10336C #184DA2

Accessibility & contrast

On white

17.31
#081A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A37
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A37#FFFFFF#000000##FFFFFF
##081A371.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D38
Deuteranopia (green-blind)
#041936
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a37;
/* rgb */ color: rgb(8, 26, 55);
/* oklch */ color: oklch(22.2% 0.061 259.4);
Tailwind
colors: {
  custom: {
    50: '#4f566e',
    500: '#081a37',
    950: '#000000',
  },
}
SCSS
$custom: #081a37;
$custom-light: #4f566e;
$custom-dark: #000000;
JSON
{
  "hex": "#081a37",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 217.021,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22164,
    "c": 0.06148,
    "h": 259.4
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#081A37
secondary
#765725
accent
#AA37F1
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020307
muted
#78787A

Preview Lab

Preview with #081A37

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

Preview Lab → · Contrast checker → · Palette generator →

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