#08052C#08052C

#08052C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.076 H 277.6°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#08052C
RGBrgb(8, 5, 44)
HSLhsl(245, 80%, 10%)
HSVhsv(245, 89%, 17%)
CMYKcmyk(81.8%, 88.6%, 0%, 82.7%)
CIE-LABlab(3.09, 11.63, -23.29)
CIE-LCHlch(3.09, 26.03, 296.53°)
OKLaboklab(15.83% 0.01 -0.0753)
OKLCHoklch(15.83% 0.076 277.6)
XYZxyz(0.6089, 0.3420, 2.4163)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08052C #292C05
analogous
#05162C #08052C #1C052C
triadic
#08052C #2C0805 #052C08
tetradic
#08052C #2C0516 #292C05 #052C1C
square
#08052C #2C0516 #292C05 #052C1C
split-complementary
#08052C #2C1C05 #162C05
monochromatic
#05031B #05031B #08052C #120B63 #1C119A

Accessibility & contrast

On white

19.66
#08052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08052C
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08052C#FFFFFF#000000##FFFFFF
##08052C1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2D
Deuteranopia (green-blind)
#000A2B
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #08052c;
/* rgb */ color: rgb(8, 5, 44);
/* oklch */ color: oklch(15.8% 0.076 277.6);
Tailwind
colors: {
  custom: {
    50: '#4b4965',
    500: '#08052c',
    950: '#000000',
  },
}
SCSS
$custom: #08052c;
$custom-light: #4b4965;
$custom-dark: #000000;
JSON
{
  "hex": "#08052c",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 244.615,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15826,
    "c": 0.07597,
    "h": 277.6
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#08052C
secondary
#686E1F
accent
#F632E7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08052C

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

Preview Lab → · Contrast checker → · Palette generator →

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