#05053C#05053C

#05053C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.101 H 269.9°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#05053C
RGBrgb(5, 5, 60)
HSLhsl(240, 85%, 13%)
HSVhsv(240, 92%, 24%)
CMYKcmyk(91.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(4.22, 19.88, -33.33)
CIE-LCHlch(4.22, 38.81, 300.82°)
OKLaboklab(17.73% -0.0002 -0.1006)
OKLCHoklch(17.73% 0.101 269.9)
XYZxyz(0.9322, 0.4669, 4.3151)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05053C #3C3C05
analogous
#05203C #05053C #20053C
triadic
#05053C #3C0505 #053C05
tetradic
#05053C #3C0520 #3C3C05 #053C20
square
#05053C #3C0520 #3C3C05 #053C20
split-complementary
#05053C #3C2005 #203C05
monochromatic
#02021C #02021C #05053C #0A0A74 #0E0EAD

Accessibility & contrast

On white

19.21
#05053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05053C
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05053C#FFFFFF#000000##FFFFFF
##05053C1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123E
Deuteranopia (green-blind)
#000C3B
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #05053c;
/* rgb */ color: rgb(5, 5, 60);
/* oklch */ color: oklch(17.7% 0.101 269.9);
Tailwind
colors: {
  custom: {
    50: '#504872',
    500: '#05053c',
    950: '#000000',
  },
}
SCSS
$custom: #05053c;
$custom-light: #504872;
$custom-dark: #000000;
JSON
{
  "hex": "#05053c",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.17734,
    "c": 0.10064,
    "h": 269.9
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#05053C
secondary
#7D7D20
accent
#FB2DFB
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#020008
muted
#78777B

Preview Lab

Preview with #05053C

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

Preview Lab → · Contrast checker → · Palette generator →

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