#05113B#05113B

#05113B is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.083 H 265.8°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#05113B
RGBrgb(5, 17, 59)
HSLhsl(227, 84%, 13%)
HSVhsv(227, 92%, 23%)
CMYKcmyk(91.5%, 71.2%, 0%, 76.9%)
CIE-LABlab(6.76, 13.32, -28.47)
CIE-LCHlch(6.76, 31.43, 295.07°)
OKLaboklab(20.08% -0.0061 -0.0827)
OKLCHoklch(20.08% 0.083 265.8)
XYZxyz(1.0522, 0.7488, 4.2259)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05113B #3B2F05
analogous
#052C3B #05113B #14053B
triadic
#05113B #3B0511 #113B05
tetradic
#05113B #3B052C #3B2F05 #053B14
square
#05113B #3B052C #3B2F05 #053B14
split-complementary
#05113B #3B1405 #2C3B05
monochromatic
#02081C #02081C #05113B #0A2173 #0F32AC

Accessibility & contrast

On white

18.26
#05113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#05113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05113B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05113B#FFFFFF#000000##FFFFFF
##05113B1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05113b;
/* rgb */ color: rgb(5, 17, 59);
/* oklch */ color: oklch(20.1% 0.083 265.8);
Tailwind
colors: {
  custom: {
    50: '#504e71',
    500: '#05113b',
    950: '#000000',
  },
}
SCSS
$custom: #05113b;
$custom-light: #504e71;
$custom-dark: #000000;
JSON
{
  "hex": "#05113b",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 226.667,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20079,
    "c": 0.08294,
    "h": 265.8
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#05113B
secondary
#7C6720
accent
#CD2DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #05113B

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

Preview Lab → · Contrast checker → · Palette generator →

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