#081338#081338

#081338 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.074 H 266.9°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#081338
RGBrgb(8, 19, 56)
HSLhsl(226, 75%, 13%)
HSVhsv(226, 86%, 22%)
CMYKcmyk(85.7%, 66.1%, 0%, 78%)
CIE-LABlab(7.25, 11.01, -25.50)
CIE-LCHlch(7.25, 27.78, 293.36°)
OKLaboklab(20.44% -0.004 -0.0737)
OKLCHoklch(20.44% 0.074 266.9)
XYZxyz(1.0466, 0.8028, 3.8404)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081338 #382D08
analogous
#082B38 #081338 #150838
triadic
#081338 #380813 #133808
tetradic
#081338 #38082B #382D08 #083815
square
#081338 #38082B #382D08 #083815
split-complementary
#081338 #381508 #2B3808
monochromatic
#04091B #04091B #081338 #10256E #1737A3

Accessibility & contrast

On white

18.09
#081338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081338
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081338#FFFFFF#000000##FFFFFF
##0813381.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081338;
/* rgb */ color: rgb(8, 19, 56);
/* oklch */ color: oklch(20.4% 0.074 266.9);
Tailwind
colors: {
  custom: {
    50: '#50506f',
    500: '#081338',
    950: '#000000',
  },
}
SCSS
$custom: #081338;
$custom-light: #50506f;
$custom-dark: #000000;
JSON
{
  "hex": "#081338",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 226.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20437,
    "c": 0.07377,
    "h": 266.9
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#081338
secondary
#776425
accent
#C736F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081338

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

Preview Lab → · Contrast checker → · Palette generator →

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