#05071A#05071A

#05071A is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.0% C 0.042 H 273.7°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#05071A
RGBrgb(5, 7, 26)
HSLhsl(234, 68%, 6%)
HSVhsv(234, 81%, 10%)
CMYKcmyk(80.8%, 73.1%, 0%, 89.8%)
CIE-LABlab(2.34, 3.24, -10.40)
CIE-LCHlch(2.34, 10.90, 287.28°)
OKLaboklab(13.99% 0.0027 -0.0417)
OKLCHoklch(13.99% 0.042 273.7)
XYZxyz(0.3250, 0.2588, 1.0099)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05071A #1A1805
analogous
#05111A #05071A #0D051A
triadic
#05071A #1A0507 #071A05
tetradic
#05071A #1A0511 #1A1805 #051A0D
square
#05071A #1A0511 #1A1805 #051A0D
split-complementary
#05071A #1A0D05 #111A05
monochromatic
#05071A #05071A #05071A #0F154D #192381

Accessibility & contrast

On white

19.97
#05071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#05071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05071A
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05071A#FFFFFF#000000##FFFFFF
##05071A1.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01091B
Deuteranopia (green-blind)
#00081A
Tritanopia (blue-blind)
#000B0F
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #05071a;
/* rgb */ color: rgb(5, 7, 26);
/* oklch */ color: oklch(14.0% 0.042 273.7);
Tailwind
colors: {
  custom: {
    50: '#484a56',
    500: '#05071a',
    950: '#000000',
  },
}
SCSS
$custom: #05071a;
$custom-light: #484a56;
$custom-dark: #000000;
JSON
{
  "hex": "#05071a",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 234.286,
    "s": 67.742,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13986,
    "c": 0.04178,
    "h": 273.7
  },
  "luminance": 0.00259
}

Semantic roles & 50–950 ramp

primary
#05071A
secondary
#5B5520
accent
#DA3DEB
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05071A

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

Preview Lab → · Contrast checker → · Palette generator →

#05071A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva