#05043B#05043B

#05043B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.101 H 270.3°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#05043B
RGBrgb(5, 4, 59)
HSLhsl(241, 87%, 12%)
HSVhsv(241, 93%, 23%)
CMYKcmyk(91.5%, 93.2%, 0%, 76.9%)
CIE-LABlab(3.93, 19.70, -33.08)
CIE-LCHlch(3.93, 38.50, 300.77°)
OKLaboklab(17.38% 0.0005 -0.1007)
OKLCHoklch(17.38% 0.101 270.3)
XYZxyz(0.8952, 0.4348, 4.1736)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05043B #3A3B04
analogous
#041F3B #05043B #21043B
triadic
#05043B #3B0504 #043B05
tetradic
#05043B #3B041F #3A3B04 #043B21
square
#05043B #3B041F #3A3B04 #043B21
split-complementary
#05043B #3B2104 #1F3B04
monochromatic
#02021D #02021D #05043B #0A0874 #0F0CAE

Accessibility & contrast

On white

19.32
#05043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#05043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05043B
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05043B#FFFFFF#000000##FFFFFF
##05043B1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000B3A
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #05043b;
/* rgb */ color: rgb(5, 4, 59);
/* oklch */ color: oklch(17.4% 0.101 270.3);
Tailwind
colors: {
  custom: {
    50: '#4f4772',
    500: '#05043b',
    950: '#000000',
  },
}
SCSS
$custom: #05043b;
$custom-light: #4f4772;
$custom-dark: #000000;
JSON
{
  "hex": "#05043b",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 241.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17376,
    "c": 0.1007,
    "h": 270.3
  },
  "luminance": 0.00435
}

Semantic roles & 50–950 ramp

primary
#05043B
secondary
#7B7D1E
accent
#FD2AFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05043B

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

Preview Lab → · Contrast checker → · Palette generator →

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