#05183B#05183B

#05183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.072 H 260.7°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#05183B
RGBrgb(5, 24, 59)
HSLhsl(219, 84%, 13%)
HSVhsv(219, 92%, 23%)
CMYKcmyk(91.5%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.00, 7.96, -24.83)
CIE-LCHlch(9.00, 26.08, 287.77°)
OKLaboklab(21.82% -0.0117 -0.0715)
OKLCHoklch(21.82% 0.072 260.7)
XYZxyz(1.1784, 1.0012, 4.2680)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05183B #3B2805
analogous
#05333B #05183B #0D053B
triadic
#05183B #3B0518 #183B05
tetradic
#05183B #3B0533 #3B2805 #053B0D
square
#05183B #3B0533 #3B2805 #053B0D
split-complementary
#05183B #3B0D05 #333B05
monochromatic
#020B1C #020B1C #05183B #0A2F73 #0F46AC

Accessibility & contrast

On white

17.50
#05183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#05183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05183B
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05183B#FFFFFF#000000##FFFFFF
##05183B1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #05183b;
/* rgb */ color: rgb(5, 24, 59);
/* oklch */ color: oklch(21.8% 0.072 260.7);
Tailwind
colors: {
  custom: {
    50: '#4f5471',
    500: '#05183b',
    950: '#000000',
  },
}
SCSS
$custom: #05183b;
$custom-light: #4f5471;
$custom-dark: #000000;
JSON
{
  "hex": "#05183b",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 218.889,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21818,
    "c": 0.07249,
    "h": 260.7
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#05183B
secondary
#7C5C20
accent
#B22DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #05183B

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

Preview Lab → · Contrast checker → · Palette generator →

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