#05071B#05071B

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

Color values

HEX#05071B
RGBrgb(5, 7, 27)
HSLhsl(235, 69%, 6%)
HSVhsv(235, 81%, 11%)
CMYKcmyk(81.5%, 74.1%, 0%, 89.4%)
CIE-LABlab(2.38, 3.52, -11.15)
CIE-LCHlch(2.38, 11.69, 287.54°)
OKLaboklab(14.09% 0.0028 -0.0436)
OKLCHoklch(14.09% 0.044 273.7)
XYZxyz(0.3363, 0.2633, 1.0698)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05071B #1B1905
analogous
#05121B #05071B #0E051B
triadic
#05071B #1B0507 #071B05
tetradic
#05071B #1B0512 #1B1905 #051B0E
square
#05071B #1B0512 #1B1905 #051B0E
split-complementary
#05071B #1B0E05 #121B05
monochromatic
#05071A #05071A #05071B #0F144F #182282

Accessibility & contrast

On white

19.95
#05071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05071B
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05071B#FFFFFF#000000##FFFFFF
##05071B1.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05071b;
/* rgb */ color: rgb(5, 7, 27);
/* oklch */ color: oklch(14.1% 0.044 273.7);
Tailwind
colors: {
  custom: {
    50: '#484a57',
    500: '#05071b',
    950: '#000000',
  },
}
SCSS
$custom: #05071b;
$custom-light: #484a57;
$custom-dark: #000000;
JSON
{
  "hex": "#05071b",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 234.545,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14085,
    "c": 0.04371,
    "h": 273.7
  },
  "luminance": 0.00263
}

Semantic roles & 50–950 ramp

primary
#05071B
secondary
#5C5620
accent
#DC3CEC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05071B

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

Preview Lab → · Contrast checker → · Palette generator →

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