#05111F#05111F

#05111F is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.4% C 0.035 H 251.9°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#05111F
RGBrgb(5, 17, 31)
HSLhsl(212, 72%, 7%)
HSVhsv(212, 84%, 12%)
CMYKcmyk(83.9%, 45.2%, 0%, 87.8%)
CIE-LABlab(4.81, 0.19, -10.67)
CIE-LCHlch(4.81, 10.67, 271.02°)
OKLaboklab(17.44% -0.0107 -0.0329)
OKLCHoklch(17.44% 0.035 251.9)
XYZxyz(0.5103, 0.5320, 1.3719)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05111F #1F1305
analogous
#051E1F #05111F #06051F
triadic
#05111F #1F0511 #111F05
tetradic
#05111F #1F051E #1F1305 #051F06
square
#05111F #1F051E #1F1305 #051F06
split-complementary
#05111F #1F0605 #1E1F05
monochromatic
#040E1A #040E1A #05111F #0E2E54 #164B88

Accessibility & contrast

On white

18.98
#05111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#05111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05111F
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05111F#FFFFFF#000000##FFFFFF
##05111F1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#070F1F
Tritanopia (blue-blind)
#001416
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #05111f;
/* rgb */ color: rgb(5, 17, 31);
/* oklch */ color: oklch(17.4% 0.035 251.9);
Tailwind
colors: {
  custom: {
    50: '#484f5a',
    500: '#05111f',
    950: '#000000',
  },
}
SCSS
$custom: #05111f;
$custom-light: #484f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05111f",
  "rgb": {
    "r": 5,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 212.308,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17444,
    "c": 0.03461,
    "h": 251.9
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#05111F
secondary
#604220
accent
#9B39EF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #05111F

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

Preview Lab → · Contrast checker → · Palette generator →

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