#081835#081835

#081835 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.5% C 0.061 H 261.1°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#081835
RGBrgb(8, 24, 53)
HSLhsl(219, 74%, 12%)
HSVhsv(219, 85%, 21%)
CMYKcmyk(84.9%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.67, 5.70, -21.04)
CIE-LCHlch(8.67, 21.80, 285.15°)
OKLaboklab(21.45% -0.0095 -0.0603)
OKLCHoklch(21.45% 0.061 261.1)
XYZxyz(1.0691, 0.9618, 3.4968)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081835 #352508
analogous
#082F35 #081835 #0F0835
triadic
#081835 #350818 #183508
tetradic
#081835 #35082F #352508 #08350F
square
#081835 #35082F #352508 #08350F
split-complementary
#081835 #350F08 #2F3508
monochromatic
#040C1B #040C1B #081835 #10306A #18489F

Accessibility & contrast

On white

17.61
#081835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#081835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081835
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081835#FFFFFF#000000##FFFFFF
##0818351.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081835;
/* rgb */ color: rgb(8, 24, 53);
/* oklch */ color: oklch(21.5% 0.061 261.1);
Tailwind
colors: {
  custom: {
    50: '#4f546c',
    500: '#081835',
    950: '#000000',
  },
}
SCSS
$custom: #081835;
$custom-light: #4f546c;
$custom-dark: #000000;
JSON
{
  "hex": "#081835",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 218.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21451,
    "c": 0.06104,
    "h": 261.1
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#081835
secondary
#745825
accent
#AF37F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081835

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

Preview Lab → · Contrast checker → · Palette generator →

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