#061827#061827

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

Color values

HEX#061827
RGBrgb(6, 24, 39)
HSLhsl(207, 73%, 9%)
HSVhsv(207, 85%, 15%)
CMYKcmyk(84.6%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.57, -1.19, -12.48)
CIE-LCHlch(7.57, 12.54, 264.55°)
OKLaboklab(20.24% -0.0159 -0.0353)
OKLCHoklch(20.24% 0.039 245.7)
XYZxyz(0.7678, 0.8384, 2.0404)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061827 #271506
analogous
#062726 #061827 #060827
triadic
#061827 #270618 #182706
tetradic
#061827 #260627 #271506 #082706
square
#061827 #260627 #271506 #082706
split-complementary
#061827 #270608 #272606
monochromatic
#04101B #04101B #061827 #0E395C #165991

Accessibility & contrast

On white

17.99
#061827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061827
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061827#FFFFFF#000000##FFFFFF
##0618271.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061827;
/* rgb */ color: rgb(6, 24, 39);
/* oklch */ color: oklch(20.2% 0.039 245.7);
Tailwind
colors: {
  custom: {
    50: '#4a5461',
    500: '#061827',
    950: '#000000',
  },
}
SCSS
$custom: #061827;
$custom-light: #4a5461;
$custom-dark: #000000;
JSON
{
  "hex": "#061827",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 207.273,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20238,
    "c": 0.03873,
    "h": 245.7
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#061827
secondary
#684121
accent
#8C38F0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #061827

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

Preview Lab → · Contrast checker → · Palette generator →

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