#05193A#05193A

#05193A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.069 H 259.4°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#05193A
RGBrgb(5, 25, 58)
HSLhsl(217, 84%, 12%)
HSVhsv(217, 91%, 23%)
CMYKcmyk(91.4%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.26, 6.68, -23.70)
CIE-LCHlch(9.26, 24.62, 285.74°)
OKLaboklab(21.99% -0.0128 -0.0682)
OKLCHoklch(21.99% 0.069 259.4)
XYZxyz(1.1737, 1.0329, 4.1397)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05193A #3A2605
analogous
#05343A #05193A #0B053A
triadic
#05193A #3A0519 #193A05
tetradic
#05193A #3A0534 #3A2605 #053A0B
square
#05193A #3A0534 #3A2605 #053A0B
split-complementary
#05193A #3A0B05 #343A05
monochromatic
#020C1C #020C1C #05193A #0A3172 #0F4AAB

Accessibility & contrast

On white

17.40
#05193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05193A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05193A#FFFFFF#000000##FFFFFF
##05193A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #05193a;
/* rgb */ color: rgb(5, 25, 58);
/* oklch */ color: oklch(22.0% 0.069 259.4);
Tailwind
colors: {
  custom: {
    50: '#4f5570',
    500: '#05193a',
    950: '#000000',
  },
}
SCSS
$custom: #05193a;
$custom-light: #4f5570;
$custom-dark: #000000;
JSON
{
  "hex": "#05193a",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 217.358,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21991,
    "c": 0.06936,
    "h": 259.4
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#05193A
secondary
#7B5920
accent
#AD2DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #05193A

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

Preview Lab → · Contrast checker → · Palette generator →

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