#05053B#05053B

#05053B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.099 H 270.1°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#05053B
RGBrgb(5, 5, 59)
HSLhsl(240, 84%, 13%)
HSVhsv(240, 92%, 23%)
CMYKcmyk(91.5%, 91.5%, 0%, 76.9%)
CIE-LABlab(4.12, 19.28, -32.76)
CIE-LCHlch(4.12, 38.01, 300.47°)
OKLaboklab(17.59% 0.0001 -0.0992)
OKLCHoklch(17.59% 0.099 270.1)
XYZxyz(0.9060, 0.4565, 4.1772)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05053B #3B3B05
analogous
#05203B #05053B #20053B
triadic
#05053B #3B0505 #053B05
tetradic
#05053B #3B0520 #3B3B05 #053B20
square
#05053B #3B0520 #3B3B05 #053B20
split-complementary
#05053B #3B2005 #203B05
monochromatic
#02021C #02021C #05053B #0A0A73 #0F0FAC

Accessibility & contrast

On white

19.24
#05053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05053B
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05053B#FFFFFF#000000##FFFFFF
##05053B1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05053b;
/* rgb */ color: rgb(5, 5, 59);
/* oklch */ color: oklch(17.6% 0.099 270.1);
Tailwind
colors: {
  custom: {
    50: '#4f4872',
    500: '#05053b',
    950: '#000000',
  },
}
SCSS
$custom: #05053b;
$custom-light: #4f4872;
$custom-dark: #000000;
JSON
{
  "hex": "#05053b",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 240,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.1759,
    "c": 0.09924,
    "h": 270.1
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#05053B
secondary
#7C7C20
accent
#FB2DFB
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05053B

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

Preview Lab → · Contrast checker → · Palette generator →

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