#05041B#05041B

#05041B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.0% C 0.051 H 279.4°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#05041B
RGBrgb(5, 4, 27)
HSLhsl(243, 74%, 6%)
HSVhsv(243, 85%, 11%)
CMYKcmyk(81.5%, 85.2%, 0%, 89.4%)
CIE-LABlab(1.79, 4.73, -12.02)
CIE-LCHlch(1.79, 12.91, 291.48°)
OKLaboklab(13.01% 0.0084 -0.0506)
OKLCHoklch(13.01% 0.051 279.4)
XYZxyz(0.3038, 0.1982, 1.0589)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05041B #1A1B04
analogous
#040E1B #05041B #10041B
triadic
#05041B #1B0504 #041B05
tetradic
#05041B #1B040E #1A1B04 #041B10
square
#05041B #1B040E #1A1B04 #041B10
split-complementary
#05041B #1B1004 #0E1B04
monochromatic
#05041B #05041B #05041B #0F0C50 #191486

Accessibility & contrast

On white

20.20
#05041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05041B
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05041B#FFFFFF#000000##FFFFFF
##05041B1.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071C
Deuteranopia (green-blind)
#00061B
Tritanopia (blue-blind)
#00090D
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #05041b;
/* rgb */ color: rgb(5, 4, 27);
/* oklch */ color: oklch(13.0% 0.051 279.4);
Tailwind
colors: {
  custom: {
    50: '#484857',
    500: '#05041b',
    950: '#000000',
  },
}
SCSS
$custom: #05041b;
$custom-light: #484857;
$custom-dark: #000000;
JSON
{
  "hex": "#05041b",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 242.609,
    "s": 74.194,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13014,
    "c": 0.05126,
    "h": 279.4
  },
  "luminance": 0.00198
}

Semantic roles & 50–950 ramp

primary
#05041B
secondary
#5B5D1E
accent
#F137E9
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778

Preview Lab

Preview with #05041B

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

Preview Lab → · Contrast checker → · Palette generator →

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