#081337#081337

#081337 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.072 H 266.8°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#081337
RGBrgb(8, 19, 55)
HSLhsl(226, 75%, 12%)
HSVhsv(226, 85%, 22%)
CMYKcmyk(85.5%, 65.5%, 0%, 78.4%)
CIE-LABlab(7.16, 10.53, -24.92)
CIE-LCHlch(7.16, 27.05, 292.91°)
OKLaboklab(20.34% -0.004 -0.072)
OKLCHoklch(20.34% 0.072 266.8)
XYZxyz(1.0224, 0.7931, 3.7129)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081337 #372C08
analogous
#082B37 #081337 #140837
triadic
#081337 #370813 #133708
tetradic
#081337 #37082B #372C08 #083714
square
#081337 #37082B #372C08 #083714
split-complementary
#081337 #371408 #2B3708
monochromatic
#04091B #04091B #081337 #10256C #1838A2

Accessibility & contrast

On white

18.13
#081337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081337
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081337#FFFFFF#000000##FFFFFF
##0813371.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081337;
/* rgb */ color: rgb(8, 19, 55);
/* oklch */ color: oklch(20.3% 0.072 266.8);
Tailwind
colors: {
  custom: {
    50: '#4f506e',
    500: '#081337',
    950: '#000000',
  },
}
SCSS
$custom: #081337;
$custom-light: #4f506e;
$custom-dark: #000000;
JSON
{
  "hex": "#081337",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 225.957,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20337,
    "c": 0.07209,
    "h": 266.8
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#081337
secondary
#766325
accent
#C637F1
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081337

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

Preview Lab → · Contrast checker → · Palette generator →

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