#081333#081333

#081333 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 19.9% C 0.065 H 266.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#081333
RGBrgb(8, 19, 51)
HSLhsl(225, 73%, 12%)
HSVhsv(225, 84%, 20%)
CMYKcmyk(84.3%, 62.7%, 0%, 80%)
CIE-LABlab(6.83, 8.54, -22.54)
CIE-LCHlch(6.83, 24.10, 290.76°)
OKLaboklab(19.95% -0.0044 -0.0651)
OKLCHoklch(19.95% 0.065 266.1)
XYZxyz(0.9303, 0.7563, 3.2283)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081333 #332808
analogous
#082933 #081333 #130833
triadic
#081333 #330813 #133308
tetradic
#081333 #330829 #332808 #083313
square
#081333 #330829 #332808 #083313
split-complementary
#081333 #331308 #293308
monochromatic
#040A1A #040A1A #081333 #102768 #193A9D

Accessibility & contrast

On white

18.24
#081333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#081333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081333
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081333#FFFFFF#000000##FFFFFF
##0813331.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #081333;
/* rgb */ color: rgb(8, 19, 51);
/* oklch */ color: oklch(19.9% 0.065 266.1);
Tailwind
colors: {
  custom: {
    50: '#4e506b',
    500: '#081333',
    950: '#000000',
  },
}
SCSS
$custom: #081333;
$custom-light: #4e506b;
$custom-dark: #000000;
JSON
{
  "hex": "#081333",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 224.651,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19948,
    "c": 0.06528,
    "h": 266.1
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#081333
secondary
#725E25
accent
#C138F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #081333

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

Preview Lab → · Contrast checker → · Palette generator →

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