#08062D#08062D

#08062D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.076 H 276.6°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#08062D
RGBrgb(8, 6, 45)
HSLhsl(243, 76%, 10%)
HSVhsv(243, 87%, 18%)
CMYKcmyk(82.2%, 86.7%, 0%, 82.4%)
CIE-LABlab(3.35, 11.71, -23.63)
CIE-LCHlch(3.35, 26.37, 296.37°)
OKLaboklab(16.21% 0.0087 -0.0752)
OKLCHoklch(16.21% 0.076 276.6)
XYZxyz(0.6388, 0.3713, 2.5201)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08062D #2B2D06
analogous
#06172D #08062D #1C062D
triadic
#08062D #2D0806 #062D08
tetradic
#08062D #2D0617 #2B2D06 #062D1C
square
#08062D #2D0617 #2B2D06 #062D1C
split-complementary
#08062D #2D1C06 #172D06
monochromatic
#05041B #05041B #08062D #120D63 #1B1499

Accessibility & contrast

On white

19.55
#08062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08062D
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08062D#FFFFFF#000000##FFFFFF
##08062D1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#000A2C
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08062d;
/* rgb */ color: rgb(8, 6, 45);
/* oklch */ color: oklch(16.2% 0.076 276.6);
Tailwind
colors: {
  custom: {
    50: '#4c4966',
    500: '#08062d',
    950: '#000000',
  },
}
SCSS
$custom: #08062d;
$custom-light: #4c4966;
$custom-dark: #000000;
JSON
{
  "hex": "#08062d",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 243.077,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.16209,
    "c": 0.07569,
    "h": 276.6
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#08062D
secondary
#6A6E21
accent
#F335E9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08062D

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

Preview Lab → · Contrast checker → · Palette generator →

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