#05193B#05193B

#05193B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.071 H 259.8°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#05193B
RGBrgb(5, 25, 59)
HSLhsl(218, 84%, 13%)
HSVhsv(218, 92%, 23%)
CMYKcmyk(91.5%, 57.6%, 0%, 76.9%)
CIE-LABlab(9.35, 7.16, -24.28)
CIE-LCHlch(9.35, 25.31, 286.42°)
OKLaboklab(22.08% -0.0126 -0.0699)
OKLCHoklch(22.08% 0.071 259.8)
XYZxyz(1.1993, 1.0431, 4.2750)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05193B #3B2705
analogous
#05343B #05193B #0C053B
triadic
#05193B #3B0519 #193B05
tetradic
#05193B #3B0534 #3B2705 #053B0C
square
#05193B #3B0534 #3B2705 #053B0C
split-complementary
#05193B #3B0C05 #343B05
monochromatic
#020C1C #020C1C #05193B #0A3173 #0F49AC

Accessibility & contrast

On white

17.38
#05193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#05193B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05193B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05193B#FFFFFF#000000##FFFFFF
##05193B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #05193b;
/* rgb */ color: rgb(5, 25, 59);
/* oklch */ color: oklch(22.1% 0.071 259.8);
Tailwind
colors: {
  custom: {
    50: '#4f5571',
    500: '#05193b',
    950: '#000000',
  },
}
SCSS
$custom: #05193b;
$custom-light: #4f5571;
$custom-dark: #000000;
JSON
{
  "hex": "#05193b",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 217.778,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22081,
    "c": 0.07101,
    "h": 259.8
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#05193B
secondary
#7C5A20
accent
#AF2DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #05193B

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

Preview Lab → · Contrast checker → · Palette generator →

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