#05142E#05142E

#05142E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.6% C 0.057 H 259.7°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#05142E
RGBrgb(5, 20, 46)
HSLhsl(218, 80%, 10%)
HSVhsv(218, 89%, 18%)
CMYKcmyk(89.1%, 56.5%, 0%, 82%)
CIE-LABlab(6.59, 4.59, -19.25)
CIE-LCHlch(6.59, 19.79, 283.42°)
OKLaboklab(19.55% -0.0101 -0.0557)
OKLCHoklch(19.55% 0.057 259.7)
XYZxyz(0.8057, 0.7297, 2.6826)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05142E #2E1F05
analogous
#05282E #05142E #0B052E
triadic
#05142E #2E0514 #142E05
tetradic
#05142E #2E0528 #2E1F05 #052E0B
square
#05142E #2E0528 #2E1F05 #052E0B
split-complementary
#05142E #2E0B05 #282E05
monochromatic
#030C1C #030C1C #05142E #0B2C65 #11449C

Accessibility & contrast

On white

18.32
#05142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#05142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05142E
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05142E#FFFFFF#000000##FFFFFF
##05142E1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05142e;
/* rgb */ color: rgb(5, 20, 46);
/* oklch */ color: oklch(19.6% 0.057 259.7);
Tailwind
colors: {
  custom: {
    50: '#4b5167',
    500: '#05142e',
    950: '#000000',
  },
}
SCSS
$custom: #05142e;
$custom-light: #4b5167;
$custom-dark: #000000;
JSON
{
  "hex": "#05142e",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 218.049,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.19552,
    "c": 0.05657,
    "h": 259.7
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#05142E
secondary
#70521F
accent
#AE31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05142E

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

Preview Lab → · Contrast checker → · Palette generator →

#05142E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva