#08062C#08062C

#08062C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.074 H 276.9°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#08062C
RGBrgb(8, 6, 44)
HSLhsl(243, 76%, 10%)
HSVhsv(243, 86%, 17%)
CMYKcmyk(81.8%, 86.4%, 0%, 82.7%)
CIE-LABlab(3.29, 11.22, -22.98)
CIE-LCHlch(3.29, 25.58, 296.03°)
OKLaboklab(16.08% 0.0089 -0.0736)
OKLCHoklch(16.08% 0.074 276.9)
XYZxyz(0.6197, 0.3637, 2.4199)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08062C #2A2C06
analogous
#06172C #08062C #1B062C
triadic
#08062C #2C0806 #062C08
tetradic
#08062C #2C0617 #2A2C06 #062C1B
square
#08062C #2C0617 #2A2C06 #062C1B
split-complementary
#08062C #2C1B06 #172C06
monochromatic
#05041B #05041B #08062C #120D62 #1C1598

Accessibility & contrast

On white

19.57
#08062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08062C
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08062C#FFFFFF#000000##FFFFFF
##08062C1.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08062c;
/* rgb */ color: rgb(8, 6, 44);
/* oklch */ color: oklch(16.1% 0.074 276.9);
Tailwind
colors: {
  custom: {
    50: '#4b4965',
    500: '#08062c',
    950: '#000000',
  },
}
SCSS
$custom: #08062c;
$custom-light: #4b4965;
$custom-dark: #000000;
JSON
{
  "hex": "#08062c",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 243.158,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16084,
    "c": 0.07412,
    "h": 276.9
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#08062C
secondary
#696D21
accent
#F335E9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08062C

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

Preview Lab → · Contrast checker → · Palette generator →

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