#05142D#05142D

#05142D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.055 H 259.1°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#05142D
RGBrgb(5, 20, 45)
HSLhsl(218, 80%, 10%)
HSVhsv(218, 89%, 18%)
CMYKcmyk(88.9%, 55.6%, 0%, 82.4%)
CIE-LABlab(6.52, 4.09, -18.61)
CIE-LCHlch(6.52, 19.06, 282.41°)
OKLaboklab(19.46% -0.0103 -0.0539)
OKLCHoklch(19.46% 0.055 259.1)
XYZxyz(0.7862, 0.7220, 2.5800)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05142D #2D1E05
analogous
#05282D #05142D #0A052D
triadic
#05142D #2D0514 #142D05
tetradic
#05142D #2D0528 #2D1E05 #052D0A
square
#05142D #2D0528 #2D1E05 #052D0A
split-complementary
#05142D #2D0A05 #282D05
monochromatic
#030C1C #030C1C #05142D #0B2C64 #11459B

Accessibility & contrast

On white

18.35
#05142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#05142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05142D
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05142D#FFFFFF#000000##FFFFFF
##05142D1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07162E
Deuteranopia (green-blind)
#02132C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #05142d;
/* rgb */ color: rgb(5, 20, 45);
/* oklch */ color: oklch(19.5% 0.055 259.1);
Tailwind
colors: {
  custom: {
    50: '#4b5166',
    500: '#05142d',
    950: '#000000',
  },
}
SCSS
$custom: #05142d;
$custom-light: #4b5166;
$custom-dark: #000000;
JSON
{
  "hex": "#05142d",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 217.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19464,
    "c": 0.05485,
    "h": 259.1
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#05142D
secondary
#6F511F
accent
#AD31F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05142D

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

Preview Lab → · Contrast checker → · Palette generator →

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