#05103C#05103C

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

Color values

HEX#05103C
RGBrgb(5, 16, 60)
HSLhsl(228, 85%, 13%)
HSVhsv(228, 92%, 24%)
CMYKcmyk(91.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(6.58, 14.47, -29.48)
CIE-LCHlch(6.58, 32.84, 296.15°)
OKLaboklab(19.96% -0.0055 -0.0858)
OKLCHoklch(19.96% 0.086 266.3)
XYZxyz(1.0632, 0.7290, 4.3588)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05103C #3C3105
analogous
#052B3C #05103C #15053C
triadic
#05103C #3C0510 #103C05
tetradic
#05103C #3C052B #3C3105 #053C15
square
#05103C #3C052B #3C3105 #053C15
split-complementary
#05103C #3C1505 #2B3C05
monochromatic
#02081C #02081C #05103C #0A1F74 #0E2EAD

Accessibility & contrast

On white

18.33
#05103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05103C
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05103C#FFFFFF#000000##FFFFFF
##05103C1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05103c;
/* rgb */ color: rgb(5, 16, 60);
/* oklch */ color: oklch(20.0% 0.086 266.3);
Tailwind
colors: {
  custom: {
    50: '#504e72',
    500: '#05103c',
    950: '#000000',
  },
}
SCSS
$custom: #05103c;
$custom-light: #504e72;
$custom-dark: #000000;
JSON
{
  "hex": "#05103c",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 228,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19963,
    "c": 0.08597,
    "h": 266.3
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#05103C
secondary
#7D6A20
accent
#D22DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #05103C

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

Preview Lab → · Contrast checker → · Palette generator →

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