#08052F#08052F

#08052F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.081 H 276.5°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#08052F
RGBrgb(8, 5, 47)
HSLhsl(244, 81%, 10%)
HSVhsv(244, 89%, 18%)
CMYKcmyk(83%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.30, 13.11, -25.22)
CIE-LCHlch(3.30, 28.42, 297.47°)
OKLaboklab(16.22% 0.0092 -0.08)
OKLCHoklch(16.22% 0.081 276.5)
XYZxyz(0.6673, 0.3653, 2.7241)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08052F #2C2F05
analogous
#05172F #08052F #1D052F
triadic
#08052F #2F0805 #052F08
tetradic
#08052F #2F0517 #2C2F05 #052F1D
square
#08052F #2F0517 #2C2F05 #052F1D
split-complementary
#08052F #2F1D05 #172F05
monochromatic
#05031C #05031C #08052F #110B66 #1B119E

Accessibility & contrast

On white

19.57
#08052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08052F
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08052F#FFFFFF#000000##FFFFFF
##08052F1.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)
#000E30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08052f;
/* rgb */ color: rgb(8, 5, 47);
/* oklch */ color: oklch(16.2% 0.081 276.5);
Tailwind
colors: {
  custom: {
    50: '#4c4868',
    500: '#08052f',
    950: '#000000',
  },
}
SCSS
$custom: #08052f;
$custom-light: #4c4868;
$custom-dark: #000000;
JSON
{
  "hex": "#08052f",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 244.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16217,
    "c": 0.08055,
    "h": 276.5
  },
  "luminance": 0.00365
}

Semantic roles & 50–950 ramp

primary
#08052F
secondary
#6B711F
accent
#F731E9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #08052F

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

Preview Lab → · Contrast checker → · Palette generator →

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