#05183F#05183F

#05183F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.079 H 261.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#05183F
RGBrgb(5, 24, 63)
HSLhsl(220, 85%, 13%)
HSVhsv(220, 92%, 25%)
CMYKcmyk(92.1%, 61.9%, 0%, 75.3%)
CIE-LABlab(9.36, 9.86, -27.11)
CIE-LCHlch(9.36, 28.85, 289.98°)
OKLaboklab(22.2% -0.0112 -0.0782)
OKLCHoklch(22.2% 0.079 261.9)
XYZxyz(1.2861, 1.0443, 4.8354)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05183F #3F2C05
analogous
#05353F #05183F #0F053F
triadic
#05183F #3F0518 #183F05
tetradic
#05183F #3F0535 #3F2C05 #053F0F
square
#05183F #3F0535 #3F2C05 #053F0F
split-complementary
#05183F #3F0F05 #353F05
monochromatic
#020B1C #020B1C #05183F #092E78 #0E43B0

Accessibility & contrast

On white

17.37
#05183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#05183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05183F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05183F#FFFFFF#000000##FFFFFF
##05183F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #05183f;
/* rgb */ color: rgb(5, 24, 63);
/* oklch */ color: oklch(22.2% 0.079 261.9);
Tailwind
colors: {
  custom: {
    50: '#505474',
    500: '#05183f',
    950: '#000000',
  },
}
SCSS
$custom: #05183f;
$custom-light: #505474;
$custom-dark: #000000;
JSON
{
  "hex": "#05183f",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 220.345,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22199,
    "c": 0.07903,
    "h": 261.9
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#05183F
secondary
#806020
accent
#B82CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #05183F

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

Preview Lab → · Contrast checker → · Palette generator →

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