#080A42#080A42

#080A42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.102 H 270.8°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#080A42
RGBrgb(8, 10, 66)
HSLhsl(238, 78%, 15%)
HSVhsv(238, 88%, 26%)
CMYKcmyk(87.9%, 84.8%, 0%, 74.1%)
CIE-LABlab(5.98, 21.42, -34.75)
CIE-LCHlch(5.98, 40.82, 301.65°)
OKLaboklab(19.72% 0.0013 -0.1016)
OKLCHoklch(19.72% 0.102 270.8)
XYZxyz(1.1917, 0.6619, 5.2182)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080A42 #424008
analogous
#082742 #080A42 #230842
triadic
#080A42 #42080A #0A4208
tetradic
#080A42 #420827 #424008 #084223
square
#080A42 #420827 #424008 #084223
split-complementary
#080A42 #422308 #274208
monochromatic
#03041B #03041B #080A42 #0F1279 #151BAF

Accessibility & contrast

On white

18.54
#080A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#080A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080A42
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080A42#FFFFFF#000000##FFFFFF
##080A421.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #080a42;
/* rgb */ color: rgb(8, 10, 66);
/* oklch */ color: oklch(19.7% 0.102 270.8);
Tailwind
colors: {
  custom: {
    50: '#544a77',
    500: '#080a42',
    950: '#000000',
  },
}
SCSS
$custom: #080a42;
$custom-light: #544a77;
$custom-dark: #000000;
JSON
{
  "hex": "#080a42",
  "rgb": {
    "r": 8,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 237.931,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19719,
    "c": 0.10164,
    "h": 270.8
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#080A42
secondary
#807D25
accent
#EE33F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #080A42

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

Preview Lab → · Contrast checker → · Palette generator →

#080A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva