#08052E#08052E

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

Color values

HEX#08052E
RGBrgb(8, 5, 46)
HSLhsl(244, 80%, 10%)
HSVhsv(244, 89%, 18%)
CMYKcmyk(82.6%, 89.1%, 0%, 82%)
CIE-LABlab(3.23, 12.60, -24.58)
CIE-LCHlch(3.23, 27.62, 297.15°)
OKLaboklab(16.09% 0.0095 -0.0785)
OKLCHoklch(16.09% 0.079 276.9)
XYZxyz(0.6474, 0.3574, 2.6191)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08052E #2B2E05
analogous
#05172E #08052E #1C052E
triadic
#08052E #2E0805 #052E08
tetradic
#08052E #2E0517 #2B2E05 #052E1C
square
#08052E #2E0517 #2B2E05 #052E1C
split-complementary
#08052E #2E1C05 #172E05
monochromatic
#05031C #05031C #08052E #120B65 #1B119C

Accessibility & contrast

On white

19.60
#08052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#08052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08052E
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08052E#FFFFFF#000000##FFFFFF
##08052E1.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)
#000D2F
Deuteranopia (green-blind)
#000A2D
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08052e;
/* rgb */ color: rgb(8, 5, 46);
/* oklch */ color: oklch(16.1% 0.079 276.9);
Tailwind
colors: {
  custom: {
    50: '#4c4867',
    500: '#08052e',
    950: '#000000',
  },
}
SCSS
$custom: #08052e;
$custom-light: #4c4867;
$custom-dark: #000000;
JSON
{
  "hex": "#08052e",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 244.39,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.16086,
    "c": 0.07904,
    "h": 276.9
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#08052E
secondary
#6A701F
accent
#F731E8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08052E

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

Preview Lab → · Contrast checker → · Palette generator →

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