#05131F#05131F

#05131F is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.1% C 0.032 H 245.1°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#05131F
RGBrgb(5, 19, 31)
HSLhsl(208, 72%, 7%)
HSVhsv(208, 84%, 12%)
CMYKcmyk(83.9%, 38.7%, 0%, 87.8%)
CIE-LABlab(5.39, -1.01, -9.78)
CIE-LCHlch(5.39, 9.83, 264.11°)
OKLaboklab(18.07% -0.0136 -0.0293)
OKLCHoklch(18.07% 0.032 245.1)
XYZxyz(0.5427, 0.5969, 1.3827)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05131F #1F1105
analogous
#051F1E #05131F #05061F
triadic
#05131F #1F0513 #131F05
tetradic
#05131F #1E051F #1F1105 #061F05
square
#05131F #1E051F #1F1105 #061F05
split-complementary
#05131F #1F0506 #1F1E05
monochromatic
#04101A #04101A #05131F #0E3354 #165488

Accessibility & contrast

On white

18.76
#05131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#05131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05131F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05131F#FFFFFF#000000##FFFFFF
##05131F1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1320
Deuteranopia (green-blind)
#0A111F
Tritanopia (blue-blind)
#001617
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #05131f;
/* rgb */ color: rgb(5, 19, 31);
/* oklch */ color: oklch(18.1% 0.032 245.1);
Tailwind
colors: {
  custom: {
    50: '#48505a',
    500: '#05131f',
    950: '#000000',
  },
}
SCSS
$custom: #05131f;
$custom-light: #48505a;
$custom-dark: #000000;
JSON
{
  "hex": "#05131f",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 207.692,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.18066,
    "c": 0.03227,
    "h": 245.1
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#05131F
secondary
#603D20
accent
#8D39EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #05131F

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

Preview Lab → · Contrast checker → · Palette generator →

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