#05053A#05053A

#05053A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.098 H 270.2°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#05053A
RGBrgb(5, 5, 58)
HSLhsl(240, 84%, 12%)
HSVhsv(240, 91%, 23%)
CMYKcmyk(91.4%, 91.4%, 0%, 77.3%)
CIE-LABlab(4.03, 18.66, -32.18)
CIE-LCHlch(4.03, 37.20, 300.11°)
OKLaboklab(17.45% 0.0003 -0.0978)
OKLCHoklch(17.45% 0.098 270.2)
XYZxyz(0.8803, 0.4462, 4.0419)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05053A #3A3A05
analogous
#05203A #05053A #20053A
triadic
#05053A #3A0505 #053A05
tetradic
#05053A #3A0520 #3A3A05 #053A20
square
#05053A #3A0520 #3A3A05 #053A20
split-complementary
#05053A #3A2005 #203A05
monochromatic
#02021C #02021C #05053A #0A0A72 #0F0FAB

Accessibility & contrast

On white

19.28
#05053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05053A
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05053A#FFFFFF#000000##FFFFFF
##05053A1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05053a;
/* rgb */ color: rgb(5, 5, 58);
/* oklch */ color: oklch(17.4% 0.098 270.2);
Tailwind
colors: {
  custom: {
    50: '#4f4871',
    500: '#05053a',
    950: '#000000',
  },
}
SCSS
$custom: #05053a;
$custom-light: #4f4871;
$custom-dark: #000000;
JSON
{
  "hex": "#05053a",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17447,
    "c": 0.09784,
    "h": 270.2
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#05053A
secondary
#7B7B20
accent
#FA2DFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05053A

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

Preview Lab → · Contrast checker → · Palette generator →

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