#05071E#05071E

#05071E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.4% C 0.049 H 273.5°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#05071E
RGBrgb(5, 7, 30)
HSLhsl(235, 71%, 7%)
HSVhsv(235, 83%, 12%)
CMYKcmyk(83.3%, 76.7%, 0%, 88.2%)
CIE-LABlab(2.51, 4.45, -13.35)
CIE-LCHlch(2.51, 14.07, 288.44°)
OKLaboklab(14.4% 0.003 -0.0493)
OKLCHoklch(14.4% 0.049 273.5)
XYZxyz(0.3728, 0.2779, 1.2620)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05071E #1E1C05
analogous
#05141E #05071E #10051E
triadic
#05071E #1E0507 #071E05
tetradic
#05071E #1E0514 #1E1C05 #051E10
square
#05071E #1E0514 #1E1C05 #051E10
split-complementary
#05071E #1E1005 #141E05
monochromatic
#04061A #04061A #05071E #0E1352 #161F87

Accessibility & contrast

On white

19.89
#05071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#05071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05071E
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05071E#FFFFFF#000000##FFFFFF
##05071E1.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#00081E
Tritanopia (blue-blind)
#000C11
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #05071e;
/* rgb */ color: rgb(5, 7, 30);
/* oklch */ color: oklch(14.4% 0.049 273.5);
Tailwind
colors: {
  custom: {
    50: '#484a59',
    500: '#05071e',
    950: '#000000',
  },
}
SCSS
$custom: #05071e;
$custom-light: #484a59;
$custom-dark: #000000;
JSON
{
  "hex": "#05071e",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 235.2,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.14395,
    "c": 0.04937,
    "h": 273.5
  },
  "luminance": 0.00278
}

Semantic roles & 50–950 ramp

primary
#05071E
secondary
#5F5A20
accent
#E03AEE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05071E

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

Preview Lab → · Contrast checker → · Palette generator →

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