#05183C#05183C

#05183C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.074 H 261.0°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#05183C
RGBrgb(5, 24, 60)
HSLhsl(219, 85%, 13%)
HSVhsv(219, 92%, 24%)
CMYKcmyk(91.7%, 60%, 0%, 76.5%)
CIE-LABlab(9.09, 8.44, -25.41)
CIE-LCHlch(9.09, 26.77, 288.37°)
OKLaboklab(21.91% -0.0115 -0.0732)
OKLCHoklch(21.91% 0.074 261)
XYZxyz(1.2045, 1.0116, 4.4059)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05183C #3C2905
analogous
#05333C #05183C #0E053C
triadic
#05183C #3C0518 #183C05
tetradic
#05183C #3C0533 #3C2905 #053C0E
square
#05183C #3C0533 #3C2905 #053C0E
split-complementary
#05183C #3C0E05 #333C05
monochromatic
#020B1C #020B1C #05183C #0A2F74 #0E45AD

Accessibility & contrast

On white

17.47
#05183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05183C
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05183C#FFFFFF#000000##FFFFFF
##05183C1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #05183c;
/* rgb */ color: rgb(5, 24, 60);
/* oklch */ color: oklch(21.9% 0.074 261.0);
Tailwind
colors: {
  custom: {
    50: '#4f5472',
    500: '#05183c',
    950: '#000000',
  },
}
SCSS
$custom: #05183c;
$custom-light: #4f5472;
$custom-dark: #000000;
JSON
{
  "hex": "#05183c",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 219.273,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21911,
    "c": 0.07414,
    "h": 261
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#05183C
secondary
#7D5D20
accent
#B42DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05183C

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

Preview Lab → · Contrast checker → · Palette generator →

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