#08062B#08062B

#08062B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.073 H 277.2°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#08062B
RGBrgb(8, 6, 43)
HSLhsl(243, 76%, 10%)
HSVhsv(243, 86%, 17%)
CMYKcmyk(81.4%, 86%, 0%, 83.1%)
CIE-LABlab(3.22, 10.76, -22.33)
CIE-LCHlch(3.22, 24.79, 295.73°)
OKLaboklab(15.96% 0.0091 -0.0719)
OKLCHoklch(15.96% 0.073 277.2)
XYZxyz(0.6012, 0.3562, 2.3221)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08062B #292B06
analogous
#06172B #08062B #1B062B
triadic
#08062B #2B0806 #062B08
tetradic
#08062B #2B0617 #292B06 #062B1B
square
#08062B #2B0617 #292B06 #062B1B
split-complementary
#08062B #2B1B06 #172B06
monochromatic
#05041B #05041B #08062B #120D61 #1C1596

Accessibility & contrast

On white

19.60
#08062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08062B
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08062B#FFFFFF#000000##FFFFFF
##08062B1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08062b;
/* rgb */ color: rgb(8, 6, 43);
/* oklch */ color: oklch(16.0% 0.073 277.2);
Tailwind
colors: {
  custom: {
    50: '#4b4964',
    500: '#08062b',
    950: '#000000',
  },
}
SCSS
$custom: #08062b;
$custom-light: #4b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#08062b",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 243.243,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15959,
    "c": 0.07252,
    "h": 277.2
  },
  "luminance": 0.00356
}

Semantic roles & 50–950 ramp

primary
#08062B
secondary
#686C21
accent
#F236E8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08062B

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

Preview Lab → · Contrast checker → · Palette generator →

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