#081C42#081C42

#081C42 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.077 H 261.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#081C42
RGBrgb(8, 28, 66)
HSLhsl(219, 78%, 15%)
HSVhsv(219, 88%, 26%)
CMYKcmyk(87.9%, 57.6%, 0%, 74.1%)
CIE-LABlab(11.10, 8.55, -26.39)
CIE-LCHlch(11.10, 27.74, 287.96°)
OKLaboklab(23.65% -0.0112 -0.076)
OKLCHoklch(23.65% 0.077 261.6)
XYZxyz(1.4984, 1.2753, 5.3204)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C42 #422E08
analogous
#083942 #081C42 #110842
triadic
#081C42 #42081C #1C4208
tetradic
#081C42 #420839 #422E08 #084211
square
#081C42 #420839 #422E08 #084211
split-complementary
#081C42 #421108 #394208
monochromatic
#030C1B #030C1B #081C42 #0F3379 #154AAF

Accessibility & contrast

On white

16.73
#081C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C42
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C42#FFFFFF#000000##FFFFFF
##081C421.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052043
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081c42;
/* rgb */ color: rgb(8, 28, 66);
/* oklch */ color: oklch(23.7% 0.077 261.6);
Tailwind
colors: {
  custom: {
    50: '#525777',
    500: '#081c42',
    950: '#000000',
  },
}
SCSS
$custom: #081c42;
$custom-light: #525777;
$custom-dark: #000000;
JSON
{
  "hex": "#081c42",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 219.31,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23652,
    "c": 0.07679,
    "h": 261.6
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#081C42
secondary
#806125
accent
#B233F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081C42

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

Preview Lab → · Contrast checker → · Palette generator →

#081C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva