#051827#051827

#051827 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.040 H 244.4°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#051827
RGBrgb(5, 24, 39)
HSLhsl(206, 77%, 9%)
HSVhsv(206, 87%, 15%)
CMYKcmyk(87.2%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.51, -1.45, -12.58)
CIE-LCHlch(7.51, 12.66, 263.42°)
OKLaboklab(20.17% -0.0171 -0.0356)
OKLCHoklch(20.17% 0.04 244.4)
XYZxyz(0.7553, 0.8319, 2.0398)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051827 #271405
analogous
#052725 #051827 #050727
triadic
#051827 #270518 #182705
tetradic
#051827 #250527 #271405 #072705
square
#051827 #250527 #271405 #072705
split-complementary
#051827 #270507 #272505
monochromatic
#03111B #03111B #051827 #0C395D #135B93

Accessibility & contrast

On white

18.00
#051827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #051827
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051827#FFFFFF#000000##FFFFFF
##0518271.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#0C1527
Tritanopia (blue-blind)
#001C1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051827;
/* rgb */ color: rgb(5, 24, 39);
/* oklch */ color: oklch(20.2% 0.040 244.4);
Tailwind
colors: {
  custom: {
    50: '#495461',
    500: '#051827',
    950: '#000000',
  },
}
SCSS
$custom: #051827;
$custom-light: #495461;
$custom-dark: #000000;
JSON
{
  "hex": "#051827",
  "rgb": {
    "r": 5,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 206.471,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20174,
    "c": 0.0395,
    "h": 244.4
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#051827
secondary
#69401F
accent
#8934F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #051827

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

Preview Lab → · Contrast checker → · Palette generator →

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