#05143C#05143C

#05143C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.080 H 264.1°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#05143C
RGBrgb(5, 20, 60)
HSLhsl(224, 85%, 13%)
HSVhsv(224, 92%, 24%)
CMYKcmyk(91.7%, 66.7%, 0%, 76.5%)
CIE-LABlab(7.76, 11.65, -27.57)
CIE-LCHlch(7.76, 29.93, 292.91°)
OKLaboklab(20.9% -0.0083 -0.0797)
OKLCHoklch(20.9% 0.08 264.1)
XYZxyz(1.1281, 0.8587, 4.3804)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05143C #3C2D05
analogous
#052F3C #05143C #11053C
triadic
#05143C #3C0514 #143C05
tetradic
#05143C #3C052F #3C2D05 #053C11
square
#05143C #3C052F #3C2D05 #053C11
split-complementary
#05143C #3C1105 #2F3C05
monochromatic
#02091C #02091C #05143C #0A2774 #0E3AAD

Accessibility & contrast

On white

17.92
#05143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05143C
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05143C#FFFFFF#000000##FFFFFF
##05143C1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05143c;
/* rgb */ color: rgb(5, 20, 60);
/* oklch */ color: oklch(20.9% 0.080 264.1);
Tailwind
colors: {
  custom: {
    50: '#505072',
    500: '#05143c',
    950: '#000000',
  },
}
SCSS
$custom: #05143c;
$custom-light: #505072;
$custom-dark: #000000;
JSON
{
  "hex": "#05143c",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 223.636,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20902,
    "c": 0.08012,
    "h": 264.1
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#05143C
secondary
#7D6420
accent
#C32DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05143C

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

Preview Lab → · Contrast checker → · Palette generator →

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