#05103B#05103B

#05103B is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.084 H 266.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#05103B
RGBrgb(5, 16, 59)
HSLhsl(228, 84%, 13%)
HSVhsv(228, 92%, 23%)
CMYKcmyk(91.5%, 72.9%, 0%, 76.9%)
CIE-LABlab(6.49, 13.96, -28.91)
CIE-LCHlch(6.49, 32.10, 295.77°)
OKLaboklab(19.85% -0.0055 -0.0842)
OKLCHoklch(19.85% 0.084 266.3)
XYZxyz(1.0370, 0.7185, 4.2209)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05103B #3B3005
analogous
#052B3B #05103B #15053B
triadic
#05103B #3B0510 #103B05
tetradic
#05103B #3B052B #3B3005 #053B15
square
#05103B #3B052B #3B3005 #053B15
split-complementary
#05103B #3B1505 #2B3B05
monochromatic
#02081C #02081C #05103B #0A1F73 #0F2FAC

Accessibility & contrast

On white

18.36
#05103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#05103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05103B
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05103B#FFFFFF#000000##FFFFFF
##05103B1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #05103b;
/* rgb */ color: rgb(5, 16, 59);
/* oklch */ color: oklch(19.8% 0.084 266.3);
Tailwind
colors: {
  custom: {
    50: '#504e71',
    500: '#05103b',
    950: '#000000',
  },
}
SCSS
$custom: #05103b;
$custom-light: #504e71;
$custom-dark: #000000;
JSON
{
  "hex": "#05103b",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 227.778,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19849,
    "c": 0.0844,
    "h": 266.3
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#05103B
secondary
#7C6920
accent
#D12DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #05103B

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

Preview Lab → · Contrast checker → · Palette generator →

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