#081638#081638

#081638 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.069 H 264.3°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#081638
RGBrgb(8, 22, 56)
HSLhsl(223, 75%, 13%)
HSVhsv(223, 86%, 22%)
CMYKcmyk(85.7%, 60.7%, 0%, 78%)
CIE-LABlab(8.23, 8.70, -23.92)
CIE-LCHlch(8.23, 25.46, 289.98°)
OKLaboklab(21.19% -0.0069 -0.0688)
OKLCHoklch(21.19% 0.069 264.3)
XYZxyz(1.1006, 0.9108, 3.8584)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081638 #382A08
analogous
#082E38 #081638 #120838
triadic
#081638 #380816 #163808
tetradic
#081638 #38082E #382A08 #083812
square
#081638 #38082E #382A08 #083812
split-complementary
#081638 #381208 #2E3808
monochromatic
#040B1B #040B1B #081638 #102B6E #1740A3

Accessibility & contrast

On white

17.76
#081638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#081638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081638
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081638#FFFFFF#000000##FFFFFF
##0816381.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081638;
/* rgb */ color: rgb(8, 22, 56);
/* oklch */ color: oklch(21.2% 0.069 264.3);
Tailwind
colors: {
  custom: {
    50: '#50526f',
    500: '#081638',
    950: '#000000',
  },
}
SCSS
$custom: #081638;
$custom-light: #50526f;
$custom-dark: #000000;
JSON
{
  "hex": "#081638",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 222.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21191,
    "c": 0.06918,
    "h": 264.3
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#081638
secondary
#775F25
accent
#BB36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081638

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

Preview Lab → · Contrast checker → · Palette generator →

#081638 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva