#08062A#08062A

#08062A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.071 H 277.6°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#08062A
RGBrgb(8, 6, 42)
HSLhsl(243, 75%, 9%)
HSVhsv(243, 86%, 16%)
CMYKcmyk(81%, 85.7%, 0%, 83.5%)
CIE-LABlab(3.15, 10.29, -21.67)
CIE-LCHlch(3.15, 23.99, 295.41°)
OKLaboklab(15.84% 0.0093 -0.0703)
OKLCHoklch(15.84% 0.071 277.6)
XYZxyz(0.5830, 0.3490, 2.2267)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08062A #282A06
analogous
#06162A #08062A #1A062A
triadic
#08062A #2A0806 #062A08
tetradic
#08062A #2A0616 #282A06 #062A1A
square
#08062A #2A0616 #282A06 #062A1A
split-complementary
#08062A #2A1A06 #162A06
monochromatic
#05041B #05041B #08062A #120E60 #1C1595

Accessibility & contrast

On white

19.63
#08062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#08062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08062A
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08062A#FFFFFF#000000##FFFFFF
##08062A1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000A29
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #08062a;
/* rgb */ color: rgb(8, 6, 42);
/* oklch */ color: oklch(15.8% 0.071 277.6);
Tailwind
colors: {
  custom: {
    50: '#4b4964',
    500: '#08062a',
    950: '#000000',
  },
}
SCSS
$custom: #08062a;
$custom-light: #4b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#08062a",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 243.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15836,
    "c": 0.07093,
    "h": 277.6
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#08062A
secondary
#676B21
accent
#F236E7
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #08062A

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

Preview Lab → · Contrast checker → · Palette generator →

#08062A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva