#05113A#05113A

#05113A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.081 H 265.7°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#05113A
RGBrgb(5, 17, 58)
HSLhsl(226, 84%, 12%)
HSVhsv(226, 91%, 23%)
CMYKcmyk(91.4%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.67, 12.80, -27.90)
CIE-LCHlch(6.67, 30.69, 294.65°)
OKLaboklab(19.97% -0.0061 -0.0811)
OKLCHoklch(19.97% 0.081 265.7)
XYZxyz(1.0265, 0.7385, 4.0906)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05113A #3A2E05
analogous
#052C3A #05113A #14053A
triadic
#05113A #3A0511 #113A05
tetradic
#05113A #3A052C #3A2E05 #053A14
square
#05113A #3A052C #3A2E05 #053A14
split-complementary
#05113A #3A1405 #2C3A05
monochromatic
#02081C #02081C #05113A #0A2272 #0F32AB

Accessibility & contrast

On white

18.30
#05113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05113A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05113A#FFFFFF#000000##FFFFFF
##05113A1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05113a;
/* rgb */ color: rgb(5, 17, 58);
/* oklch */ color: oklch(20.0% 0.081 265.7);
Tailwind
colors: {
  custom: {
    50: '#4f4e71',
    500: '#05113a',
    950: '#000000',
  },
}
SCSS
$custom: #05113a;
$custom-light: #4f4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#05113a",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 226.415,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1997,
    "c": 0.08133,
    "h": 265.7
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#05113A
secondary
#7B6620
accent
#CC2DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #05113A

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

Preview Lab → · Contrast checker → · Palette generator →

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