#051927#051927

#051927 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.039 H 241.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#051927
RGBrgb(5, 25, 39)
HSLhsl(205, 77%, 9%)
HSVhsv(205, 87%, 15%)
CMYKcmyk(87.2%, 35.9%, 0%, 84.7%)
CIE-LABlab(7.89, -2.23, -11.98)
CIE-LCHlch(7.89, 12.19, 259.48°)
OKLaboklab(20.48% -0.0184 -0.0338)
OKLCHoklch(20.48% 0.039 241.5)
XYZxyz(0.7763, 0.8739, 2.0468)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051927 #271305
analogous
#052724 #051927 #050827
triadic
#051927 #270519 #192705
tetradic
#051927 #240527 #271305 #082705
square
#051927 #240527 #271305 #082705
split-complementary
#051927 #270508 #272405
monochromatic
#03111B #03111B #051927 #0C3C5D #135F93

Accessibility & contrast

On white

17.88
#051927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#051927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051927
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051927#FFFFFF#000000##FFFFFF
##0519271.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131928
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051927;
/* rgb */ color: rgb(5, 25, 39);
/* oklch */ color: oklch(20.5% 0.039 241.5);
Tailwind
colors: {
  custom: {
    50: '#495561',
    500: '#051927',
    950: '#000000',
  },
}
SCSS
$custom: #051927;
$custom-light: #495561;
$custom-dark: #000000;
JSON
{
  "hex": "#051927",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 204.706,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20481,
    "c": 0.03851,
    "h": 241.5
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#051927
secondary
#693D1F
accent
#8334F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010305
muted
#777879

Preview Lab

Preview with #051927

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

Preview Lab → · Contrast checker → · Palette generator →

#051927 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva