#05041D#05041D

#05041D is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.3% C 0.055 H 278.5°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#05041D
RGBrgb(5, 4, 29)
HSLhsl(242, 76%, 6%)
HSVhsv(242, 86%, 11%)
CMYKcmyk(82.8%, 86.2%, 0%, 88.6%)
CIE-LABlab(1.88, 5.33, -13.50)
CIE-LCHlch(1.88, 14.51, 291.56°)
OKLaboklab(13.25% 0.0081 -0.0542)
OKLCHoklch(13.25% 0.055 278.5)
XYZxyz(0.3277, 0.2078, 1.1850)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05041D #1C1D04
analogous
#04101D #05041D #12041D
triadic
#05041D #1D0504 #041D05
tetradic
#05041D #1D0410 #1C1D04 #041D12
square
#05041D #1D0410 #1C1D04 #041D12
split-complementary
#05041D #1D1204 #101D04
monochromatic
#05041B #05041B #05041D #0E0B53 #181389

Accessibility & contrast

On white

20.16
#05041D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#05041D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05041D
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05041D#FFFFFF#000000##FFFFFF
##05041D1.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081E
Deuteranopia (green-blind)
#00061C
Tritanopia (blue-blind)
#00090E
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #05041d;
/* rgb */ color: rgb(5, 4, 29);
/* oklch */ color: oklch(13.3% 0.055 278.5);
Tailwind
colors: {
  custom: {
    50: '#484858',
    500: '#05041d',
    950: '#000000',
  },
}
SCSS
$custom: #05041d;
$custom-light: #484858;
$custom-dark: #000000;
JSON
{
  "hex": "#05041d",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 29
  },
  "hsl": {
    "h": 242.4,
    "s": 75.758,
    "l": 6.471
  },
  "oklch": {
    "l": 0.13253,
    "c": 0.05479,
    "h": 278.5
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#05041D
secondary
#5D5F1D
accent
#F235EB
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #05041D

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

Preview Lab → · Contrast checker → · Palette generator →

#05041D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva