#05142F#05142F

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

Color values

HEX#05142F
RGBrgb(5, 20, 47)
HSLhsl(219, 81%, 10%)
HSVhsv(219, 89%, 18%)
CMYKcmyk(89.4%, 57.4%, 0%, 81.6%)
CIE-LABlab(6.66, 5.10, -19.87)
CIE-LCHlch(6.66, 20.51, 284.39°)
OKLaboklab(19.64% -0.0099 -0.0574)
OKLCHoklch(19.64% 0.058 260.2)
XYZxyz(0.8256, 0.7377, 2.7877)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05142F #2F2005
analogous
#05292F #05142F #0B052F
triadic
#05142F #2F0514 #142F05
tetradic
#05142F #2F0529 #2F2005 #052F0B
square
#05142F #2F0529 #2F2005 #052F0B
split-complementary
#05142F #2F0B05 #292F05
monochromatic
#030C1C #030C1C #05142F #0B2C66 #11439E

Accessibility & contrast

On white

18.30
#05142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05142F
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05142F#FFFFFF#000000##FFFFFF
##05142F1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#00132E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #05142f;
/* rgb */ color: rgb(5, 20, 47);
/* oklch */ color: oklch(19.6% 0.058 260.2);
Tailwind
colors: {
  custom: {
    50: '#4b5168',
    500: '#05142f',
    950: '#000000',
  },
}
SCSS
$custom: #05142f;
$custom-light: #4b5168;
$custom-dark: #000000;
JSON
{
  "hex": "#05142f",
  "rgb": {
    "r": 5,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 218.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19641,
    "c": 0.0583,
    "h": 260.2
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#05142F
secondary
#71541F
accent
#B031F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #05142F

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

Preview Lab → · Contrast checker → · Palette generator →

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