#05113C#05113C

#05113C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.085 H 265.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#05113C
RGBrgb(5, 17, 60)
HSLhsl(227, 85%, 13%)
HSVhsv(227, 92%, 24%)
CMYKcmyk(91.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(6.86, 13.82, -29.03)
CIE-LCHlch(6.86, 32.16, 295.46°)
OKLaboklab(20.19% -0.0061 -0.0843)
OKLCHoklch(20.19% 0.085 265.8)
XYZxyz(1.0784, 0.7593, 4.3638)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05113C #3C3005
analogous
#052C3C #05113C #14053C
triadic
#05113C #3C0511 #113C05
tetradic
#05113C #3C052C #3C3005 #053C14
square
#05113C #3C052C #3C3005 #053C14
split-complementary
#05113C #3C1405 #2C3C05
monochromatic
#02081C #02081C #05113C #0A2174 #0E31AD

Accessibility & contrast

On white

18.23
#05113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05113C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05113C#FFFFFF#000000##FFFFFF
##05113C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05113c;
/* rgb */ color: rgb(5, 17, 60);
/* oklch */ color: oklch(20.2% 0.085 265.8);
Tailwind
colors: {
  custom: {
    50: '#504e72',
    500: '#05113c',
    950: '#000000',
  },
}
SCSS
$custom: #05113c;
$custom-light: #504e72;
$custom-dark: #000000;
JSON
{
  "hex": "#05113c",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 226.909,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2019,
    "c": 0.08454,
    "h": 265.8
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#05113C
secondary
#7D6920
accent
#CE2DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #05113C

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

Preview Lab → · Contrast checker → · Palette generator →

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