#041827#041827

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

Color values

HEX#041827
RGBrgb(4, 24, 39)
HSLhsl(206, 81%, 8%)
HSVhsv(206, 90%, 15%)
CMYKcmyk(89.7%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.46, -1.71, -12.67)
CIE-LCHlch(7.46, 12.79, 262.30°)
OKLaboklab(20.11% -0.0183 -0.0359)
OKLCHoklch(20.11% 0.04 243)
XYZxyz(0.7428, 0.8255, 2.0392)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041827 #271304
analogous
#042724 #041827 #040627
triadic
#041827 #270418 #182704
tetradic
#041827 #240427 #271304 #062704
square
#041827 #240427 #271304 #062704
split-complementary
#041827 #270406 #272404
monochromatic
#03111C #03111C #041827 #0A3A5F #0F5C96

Accessibility & contrast

On white

18.02
#041827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041827
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041827#FFFFFF#000000##FFFFFF
##0418271.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041827;
/* rgb */ color: rgb(4, 24, 39);
/* oklch */ color: oklch(20.1% 0.040 243.0);
Tailwind
colors: {
  custom: {
    50: '#495461',
    500: '#041827',
    950: '#000000',
  },
}
SCSS
$custom: #041827;
$custom-light: #495461;
$custom-dark: #000000;
JSON
{
  "hex": "#041827",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 205.714,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20108,
    "c": 0.04031,
    "h": 243
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#041827
secondary
#6A3E1D
accent
#8630F8
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #041827

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

Preview Lab → · Contrast checker → · Palette generator →

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