#081840#081840

#081840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.079 H 264.3°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#081840
RGBrgb(8, 24, 64)
HSLhsl(223, 78%, 14%)
HSVhsv(223, 88%, 25%)
CMYKcmyk(87.5%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.60, 10.80, -27.41)
CIE-LCHlch(9.60, 29.46, 291.50°)
OKLaboklab(22.46% -0.0079 -0.0791)
OKLCHoklch(22.46% 0.079 264.3)
XYZxyz(1.3519, 1.0749, 4.9857)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081840 #403008
analogous
#083440 #081840 #140840
triadic
#081840 #400818 #184008
tetradic
#081840 #400834 #403008 #084014
square
#081840 #400834 #403008 #084014
split-complementary
#081840 #401408 #344008
monochromatic
#030A1B #030A1B #081840 #0F2C76 #1641AD

Accessibility & contrast

On white

17.28
#081840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081840
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081840#FFFFFF#000000##FFFFFF
##0818401.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081840;
/* rgb */ color: rgb(8, 24, 64);
/* oklch */ color: oklch(22.5% 0.079 264.3);
Tailwind
colors: {
  custom: {
    50: '#525475',
    500: '#081840',
    950: '#000000',
  },
}
SCSS
$custom: #081840;
$custom-light: #525475;
$custom-dark: #000000;
JSON
{
  "hex": "#081840",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 222.857,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22457,
    "c": 0.07945,
    "h": 264.3
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#081840
secondary
#7E6525
accent
#BD34F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081840

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

Preview Lab → · Contrast checker → · Palette generator →

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