#05043A#05043A

#05043A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.099 H 270.4°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#05043A
RGBrgb(5, 4, 58)
HSLhsl(241, 87%, 12%)
HSVhsv(241, 93%, 23%)
CMYKcmyk(91.4%, 93.1%, 0%, 77.3%)
CIE-LABlab(3.83, 19.08, -32.50)
CIE-LCHlch(3.83, 37.69, 300.41°)
OKLaboklab(17.23% 0.0008 -0.0993)
OKLCHoklch(17.23% 0.099 270.4)
XYZxyz(0.8695, 0.4245, 4.0383)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05043A #393A04
analogous
#041E3A #05043A #20043A
triadic
#05043A #3A0504 #043A05
tetradic
#05043A #3A041E #393A04 #043A20
square
#05043A #3A041E #393A04 #043A20
split-complementary
#05043A #3A2004 #1E3A04
monochromatic
#02021D #02021D #05043A #0A0873 #0F0CAD

Accessibility & contrast

On white

19.35
#05043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05043A
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05043A#FFFFFF#000000##FFFFFF
##05043A1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103B
Deuteranopia (green-blind)
#000B39
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #05043a;
/* rgb */ color: rgb(5, 4, 58);
/* oklch */ color: oklch(17.2% 0.099 270.4);
Tailwind
colors: {
  custom: {
    50: '#4f4771',
    500: '#05043a',
    950: '#000000',
  },
}
SCSS
$custom: #05043a;
$custom-light: #4f4771;
$custom-dark: #000000;
JSON
{
  "hex": "#05043a",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 241.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17229,
    "c": 0.09932,
    "h": 270.4
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#05043A
secondary
#7A7C1E
accent
#FD2BF9
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05043A

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

Preview Lab → · Contrast checker → · Palette generator →

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