#041B27#041B27

#041B27 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.0% C 0.038 H 234.1°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#041B27
RGBrgb(4, 27, 39)
HSLhsl(201, 81%, 8%)
HSVhsv(201, 90%, 15%)
CMYKcmyk(89.7%, 30.8%, 0%, 84.7%)
CIE-LABlab(8.62, -4.05, -10.85)
CIE-LCHlch(8.62, 11.58, 249.52°)
OKLaboklab(21.04% -0.0221 -0.0306)
OKLCHoklch(21.04% 0.038 234.1)
XYZxyz(0.8081, 0.9561, 2.0610)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B27 #271004
analogous
#042721 #041B27 #040927
triadic
#041B27 #27041B #1B2704
tetradic
#041B27 #210427 #271004 #092704
square
#041B27 #210427 #271004 #092704
split-complementary
#041B27 #270409 #272104
monochromatic
#03131C #03131C #041B27 #0A415F #0F6896

Accessibility & contrast

On white

17.63
#041B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041B27
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B27#FFFFFF#000000##FFFFFF
##041B271.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B28
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041b27;
/* rgb */ color: rgb(4, 27, 39);
/* oklch */ color: oklch(21.0% 0.038 234.1);
Tailwind
colors: {
  custom: {
    50: '#495761',
    500: '#041b27',
    950: '#000000',
  },
}
SCSS
$custom: #041b27;
$custom-light: #495761;
$custom-dark: #000000;
JSON
{
  "hex": "#041b27",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 200.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.21042,
    "c": 0.03771,
    "h": 234.1
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#041B27
secondary
#6A371D
accent
#7530F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #041B27

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

Preview Lab → · Contrast checker → · Palette generator →

#041B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva