#05042E#05042E

#05042E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.082 H 272.9°. Best body text is #FFFFFF at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#05042E
RGBrgb(5, 4, 46)
HSLhsl(241, 84%, 10%)
HSVhsv(241, 91%, 18%)
CMYKcmyk(89.1%, 91.3%, 0%, 82%)
CIE-LABlab(2.86, 12.22, -25.18)
CIE-LCHlch(2.86, 27.99, 295.89°)
OKLaboklab(15.5% 0.0041 -0.082)
OKLCHoklch(15.5% 0.082 272.9)
XYZxyz(0.5990, 0.3163, 2.6137)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05042E #2D2E04
analogous
#04182E #05042E #1A042E
triadic
#05042E #2E0504 #042E05
tetradic
#05042E #2E0418 #2D2E04 #042E1A
square
#05042E #2E0418 #2D2E04 #042E1A
split-complementary
#05042E #2E1A04 #182E04
monochromatic
#03021C #03021C #05042E #0B0966 #110E9F

Accessibility & contrast

On white

19.75
#05042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05042E
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05042E#FFFFFF#000000##FFFFFF
##05042E1.0019.751.0619.75
#FFFFFF19.751.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2F
Deuteranopia (green-blind)
#00082D
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #05042e;
/* rgb */ color: rgb(5, 4, 46);
/* oklch */ color: oklch(15.5% 0.082 272.9);
Tailwind
colors: {
  custom: {
    50: '#4a4867',
    500: '#05042e',
    950: '#000000',
  },
}
SCSS
$custom: #05042e;
$custom-light: #4a4867;
$custom-dark: #000000;
JSON
{
  "hex": "#05042e",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 241.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15502,
    "c": 0.0821,
    "h": 272.9
  },
  "luminance": 0.00316
}

Semantic roles & 50–950 ramp

primary
#05042E
secondary
#6F711D
accent
#FA2EF5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #05042E

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

Preview Lab → · Contrast checker → · Palette generator →

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