#05153B#05153B

#05153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.077 H 263.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#05153B
RGBrgb(5, 21, 59)
HSLhsl(222, 84%, 13%)
HSVhsv(222, 92%, 23%)
CMYKcmyk(91.5%, 64.4%, 0%, 76.9%)
CIE-LABlab(7.99, 10.38, -26.48)
CIE-LCHlch(7.99, 28.44, 291.41°)
OKLaboklab(21.05% -0.0091 -0.0764)
OKLCHoklch(21.05% 0.077 263.2)
XYZxyz(1.1199, 0.8842, 4.2485)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05153B #3B2B05
analogous
#05303B #05153B #10053B
triadic
#05153B #3B0515 #153B05
tetradic
#05153B #3B0530 #3B2B05 #053B10
square
#05153B #3B0530 #3B2B05 #053B10
split-complementary
#05153B #3B1005 #303B05
monochromatic
#020A1C #020A1C #05153B #0A2973 #0F3DAC

Accessibility & contrast

On white

17.85
#05153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#05153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05153B
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05153B#FFFFFF#000000##FFFFFF
##05153B1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05153b;
/* rgb */ color: rgb(5, 21, 59);
/* oklch */ color: oklch(21.0% 0.077 263.2);
Tailwind
colors: {
  custom: {
    50: '#4f5171',
    500: '#05153b',
    950: '#000000',
  },
}
SCSS
$custom: #05153b;
$custom-light: #4f5171;
$custom-dark: #000000;
JSON
{
  "hex": "#05153b",
  "rgb": {
    "r": 5,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 222.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21048,
    "c": 0.077,
    "h": 263.2
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#05153B
secondary
#7C6120
accent
#BE2DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05153B

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

Preview Lab → · Contrast checker → · Palette generator →

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