#05143A#05143A

#05143A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.077 H 263.7°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#05143A
RGBrgb(5, 20, 58)
HSLhsl(223, 84%, 12%)
HSVhsv(223, 91%, 23%)
CMYKcmyk(91.4%, 65.5%, 0%, 77.3%)
CIE-LABlab(7.57, 10.69, -26.44)
CIE-LCHlch(7.57, 28.52, 292.01°)
OKLaboklab(20.7% -0.0084 -0.0764)
OKLCHoklch(20.7% 0.077 263.7)
XYZxyz(1.0762, 0.8379, 4.1072)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05143A #3A2B05
analogous
#052F3A #05143A #11053A
triadic
#05143A #3A0514 #143A05
tetradic
#05143A #3A052F #3A2B05 #053A11
square
#05143A #3A052F #3A2B05 #053A11
split-complementary
#05143A #3A1105 #2F3A05
monochromatic
#020A1C #020A1C #05143A #0A2772 #0F3BAB

Accessibility & contrast

On white

17.99
#05143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#05143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05143A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05143A#FFFFFF#000000##FFFFFF
##05143A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05143a;
/* rgb */ color: rgb(5, 20, 58);
/* oklch */ color: oklch(20.7% 0.077 263.7);
Tailwind
colors: {
  custom: {
    50: '#4f5070',
    500: '#05143a',
    950: '#000000',
  },
}
SCSS
$custom: #05143a;
$custom-light: #4f5070;
$custom-dark: #000000;
JSON
{
  "hex": "#05143a",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 223.019,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20697,
    "c": 0.07685,
    "h": 263.7
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#05143A
secondary
#7B6120
accent
#C02DFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #05143A

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

Preview Lab → · Contrast checker → · Palette generator →

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