#05142C#05142C

#05142C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.053 H 258.5°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#05142C
RGBrgb(5, 20, 44)
HSLhsl(217, 80%, 10%)
HSVhsv(217, 89%, 17%)
CMYKcmyk(88.6%, 54.5%, 0%, 82.7%)
CIE-LABlab(6.45, 3.62, -17.98)
CIE-LCHlch(6.45, 18.34, 281.37°)
OKLaboklab(19.38% -0.0106 -0.052)
OKLCHoklch(19.38% 0.053 258.5)
XYZxyz(0.7672, 0.7143, 2.4798)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05142C #2C1D05
analogous
#05282C #05142C #0A052C
triadic
#05142C #2C0514 #142C05
tetradic
#05142C #2C0528 #2C1D05 #052C0A
square
#05142C #2C0528 #2C1D05 #052C0A
split-complementary
#05142C #2C0A05 #282C05
monochromatic
#030C1B #030C1B #05142C #0B2D63 #11469A

Accessibility & contrast

On white

18.38
#05142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05142C
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05142C#FFFFFF#000000##FFFFFF
##05142C1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#03132C
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #05142c;
/* rgb */ color: rgb(5, 20, 44);
/* oklch */ color: oklch(19.4% 0.053 258.5);
Tailwind
colors: {
  custom: {
    50: '#4a5165',
    500: '#05142c',
    950: '#000000',
  },
}
SCSS
$custom: #05142c;
$custom-light: #4a5165;
$custom-dark: #000000;
JSON
{
  "hex": "#05142c",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 216.923,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19378,
    "c": 0.05311,
    "h": 258.5
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#05142C
secondary
#6E4F1F
accent
#AB32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #05142C

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

Preview Lab → · Contrast checker → · Palette generator →

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