#08062E#08062E

#08062E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.077 H 276.3°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#08062E
RGBrgb(8, 6, 46)
HSLhsl(243, 77%, 10%)
HSVhsv(243, 87%, 18%)
CMYKcmyk(82.6%, 87%, 0%, 82%)
CIE-LABlab(3.42, 12.20, -24.27)
CIE-LCHlch(3.42, 27.16, 296.69°)
OKLaboklab(16.34% 0.0084 -0.0768)
OKLCHoklch(16.34% 0.077 276.3)
XYZxyz(0.6582, 0.3791, 2.6227)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08062E #2C2E06
analogous
#06182E #08062E #1C062E
triadic
#08062E #2E0806 #062E08
tetradic
#08062E #2E0618 #2C2E06 #062E1C
square
#08062E #2E0618 #2C2E06 #062E1C
split-complementary
#08062E #2E1C06 #182E06
monochromatic
#05041B #05041B #08062E #110D64 #1B149A

Accessibility & contrast

On white

19.52
#08062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#08062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08062E
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08062E#FFFFFF#000000##FFFFFF
##08062E1.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08062e;
/* rgb */ color: rgb(8, 6, 46);
/* oklch */ color: oklch(16.3% 0.077 276.3);
Tailwind
colors: {
  custom: {
    50: '#4c4967',
    500: '#08062e',
    950: '#000000',
  },
}
SCSS
$custom: #08062e;
$custom-light: #4c4967;
$custom-dark: #000000;
JSON
{
  "hex": "#08062e",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 243,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16335,
    "c": 0.07725,
    "h": 276.3
  },
  "luminance": 0.00379
}

Semantic roles & 50–950 ramp

primary
#08062E
secondary
#6B6F21
accent
#F334EA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08062E

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

Preview Lab → · Contrast checker → · Palette generator →

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