#05193C#05193C

#05193C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.073 H 260.2°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#05193C
RGBrgb(5, 25, 60)
HSLhsl(218, 85%, 13%)
HSVhsv(218, 92%, 24%)
CMYKcmyk(91.7%, 58.3%, 0%, 76.5%)
CIE-LABlab(9.43, 7.63, -24.85)
CIE-LCHlch(9.43, 26.00, 287.07°)
OKLaboklab(22.17% -0.0124 -0.0716)
OKLCHoklch(22.17% 0.073 260.2)
XYZxyz(1.2255, 1.0536, 4.4129)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05193C #3C2805
analogous
#05343C #05193C #0D053C
triadic
#05193C #3C0519 #193C05
tetradic
#05193C #3C0534 #3C2805 #053C0D
square
#05193C #3C0534 #3C2805 #053C0D
split-complementary
#05193C #3C0D05 #343C05
monochromatic
#020C1C #020C1C #05193C #0A3174 #0E48AD

Accessibility & contrast

On white

17.34
#05193C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05193C
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05193C#FFFFFF#000000##FFFFFF
##05193C1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #05193c;
/* rgb */ color: rgb(5, 25, 60);
/* oklch */ color: oklch(22.2% 0.073 260.2);
Tailwind
colors: {
  custom: {
    50: '#4f5572',
    500: '#05193c',
    950: '#000000',
  },
}
SCSS
$custom: #05193c;
$custom-light: #4f5572;
$custom-dark: #000000;
JSON
{
  "hex": "#05193c",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 60
  },
  "hsl": {
    "h": 218.182,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22173,
    "c": 0.07265,
    "h": 260.2
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#05193C
secondary
#7D5B20
accent
#B02DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05193C

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

Preview Lab → · Contrast checker → · Palette generator →

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