#05193F#05193F

#05193F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.078 H 261.1°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#05193F
RGBrgb(5, 25, 63)
HSLhsl(219, 85%, 13%)
HSVhsv(219, 92%, 25%)
CMYKcmyk(92.1%, 60.3%, 0%, 75.3%)
CIE-LABlab(9.69, 9.06, -26.57)
CIE-LCHlch(9.69, 28.07, 288.83°)
OKLaboklab(22.45% -0.012 -0.0766)
OKLCHoklch(22.45% 0.078 261.1)
XYZxyz(1.3071, 1.0862, 4.8424)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05193F #3F2B05
analogous
#05363F #05193F #0E053F
triadic
#05193F #3F0519 #193F05
tetradic
#05193F #3F0536 #3F2B05 #053F0E
square
#05193F #3F0536 #3F2B05 #053F0E
split-complementary
#05193F #3F0E05 #363F05
monochromatic
#020B1C #020B1C #05193F #093078 #0E46B0

Accessibility & contrast

On white

17.25
#05193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#05193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05193F
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05193F#FFFFFF#000000##FFFFFF
##05193F1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #05193f;
/* rgb */ color: rgb(5, 25, 63);
/* oklch */ color: oklch(22.5% 0.078 261.1);
Tailwind
colors: {
  custom: {
    50: '#505574',
    500: '#05193f',
    950: '#000000',
  },
}
SCSS
$custom: #05193f;
$custom-light: #505574;
$custom-dark: #000000;
JSON
{
  "hex": "#05193f",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 219.31,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22453,
    "c": 0.07754,
    "h": 261.1
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#05193F
secondary
#805F20
accent
#B42CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #05193F

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

Preview Lab → · Contrast checker → · Palette generator →

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