#081335#081335

#081335 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.069 H 266.5°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#081335
RGBrgb(8, 19, 53)
HSLhsl(225, 74%, 12%)
HSVhsv(225, 85%, 21%)
CMYKcmyk(84.9%, 64.2%, 0%, 79.2%)
CIE-LABlab(6.99, 9.54, -23.74)
CIE-LCHlch(6.99, 25.58, 291.90°)
OKLaboklab(20.14% -0.0042 -0.0686)
OKLCHoklch(20.14% 0.069 266.5)
XYZxyz(0.9754, 0.7743, 3.4655)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081335 #352A08
analogous
#082A35 #081335 #140835
triadic
#081335 #350813 #133508
tetradic
#081335 #35082A #352A08 #083514
square
#081335 #35082A #352A08 #083514
split-complementary
#081335 #351408 #2A3508
monochromatic
#040A1B #040A1B #081335 #10266A #18399F

Accessibility & contrast

On white

18.18
#081335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081335
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081335#FFFFFF#000000##FFFFFF
##0813351.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #081335;
/* rgb */ color: rgb(8, 19, 53);
/* oklch */ color: oklch(20.1% 0.069 266.5);
Tailwind
colors: {
  custom: {
    50: '#4f506c',
    500: '#081335',
    950: '#000000',
  },
}
SCSS
$custom: #081335;
$custom-light: #4f506c;
$custom-dark: #000000;
JSON
{
  "hex": "#081335",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 225.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2014,
    "c": 0.06871,
    "h": 266.5
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#081335
secondary
#746125
accent
#C337F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081335

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

Preview Lab → · Contrast checker → · Palette generator →

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