#05183A#05183A

#05183A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.071 H 260.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#05183A
RGBrgb(5, 24, 58)
HSLhsl(218, 84%, 12%)
HSVhsv(218, 91%, 23%)
CMYKcmyk(91.4%, 58.6%, 0%, 77.3%)
CIE-LABlab(8.92, 7.48, -24.26)
CIE-LCHlch(8.92, 25.38, 287.14°)
OKLaboklab(21.73% -0.0118 -0.0698)
OKLCHoklch(21.73% 0.071 260.4)
XYZxyz(1.1527, 0.9909, 4.1327)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05183A #3A2705
analogous
#05323A #05183A #0D053A
triadic
#05183A #3A0518 #183A05
tetradic
#05183A #3A0532 #3A2705 #053A0D
square
#05183A #3A0532 #3A2705 #053A0D
split-complementary
#05183A #3A0D05 #323A05
monochromatic
#020C1C #020C1C #05183A #0A2F72 #0F47AB

Accessibility & contrast

On white

17.53
#05183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05183A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05183A#FFFFFF#000000##FFFFFF
##05183A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #05183a;
/* rgb */ color: rgb(5, 24, 58);
/* oklch */ color: oklch(21.7% 0.071 260.4);
Tailwind
colors: {
  custom: {
    50: '#4f5470',
    500: '#05183a',
    950: '#000000',
  },
}
SCSS
$custom: #05183a;
$custom-light: #4f5470;
$custom-dark: #000000;
JSON
{
  "hex": "#05183a",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 218.491,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21725,
    "c": 0.07084,
    "h": 260.4
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#05183A
secondary
#7B5A20
accent
#B12DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #05183A

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

Preview Lab → · Contrast checker → · Palette generator →

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