#081936#081936

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

Color values

HEX#081936
RGBrgb(8, 25, 54)
HSLhsl(218, 74%, 12%)
HSVhsv(218, 85%, 21%)
CMYKcmyk(85.2%, 53.7%, 0%, 78.8%)
CIE-LABlab(9.10, 5.37, -21.07)
CIE-LCHlch(9.10, 21.74, 284.29°)
OKLaboklab(21.81% -0.0104 -0.0604)
OKLCHoklch(21.81% 0.061 260.2)
XYZxyz(1.1134, 1.0131, 3.6262)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081936 #362508
analogous
#083036 #081936 #0E0836
triadic
#081936 #360819 #193608
tetradic
#081936 #360830 #362508 #08360E
square
#081936 #360830 #362508 #08360E
split-complementary
#081936 #360E08 #303608
monochromatic
#040C1B #040C1B #081936 #10326B #184AA1

Accessibility & contrast

On white

17.46
#081936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#081936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081936
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081936#FFFFFF#000000##FFFFFF
##0819361.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#031835
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081936;
/* rgb */ color: rgb(8, 25, 54);
/* oklch */ color: oklch(21.8% 0.061 260.2);
Tailwind
colors: {
  custom: {
    50: '#4f556d',
    500: '#081936',
    950: '#000000',
  },
}
SCSS
$custom: #081936;
$custom-light: #4f556d;
$custom-dark: #000000;
JSON
{
  "hex": "#081936",
  "rgb": {
    "r": 8,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 217.826,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21808,
    "c": 0.06127,
    "h": 260.2
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#081936
secondary
#755725
accent
#AC37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081936

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

Preview Lab → · Contrast checker → · Palette generator →

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