#041D27#041D27

#041D27 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.7% C 0.037 H 227.6°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#041D27
RGBrgb(4, 29, 39)
HSLhsl(197, 81%, 8%)
HSVhsv(197, 90%, 15%)
CMYKcmyk(89.7%, 25.6%, 0%, 84.7%)
CIE-LABlab(9.41, -5.51, -9.63)
CIE-LCHlch(9.41, 11.10, 240.21°)
OKLaboklab(21.67% -0.0247 -0.027)
OKLCHoklch(21.67% 0.037 227.6)
XYZxyz(0.8555, 1.0509, 2.0768)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041D27 #270E04
analogous
#04271F #041D27 #040B27
triadic
#041D27 #27041D #1D2704
tetradic
#041D27 #1F0427 #270E04 #0B2704
square
#041D27 #1F0427 #270E04 #0B2704
split-complementary
#041D27 #27040B #271F04
monochromatic
#03151C #03151C #041D27 #0A465F #0F7096

Accessibility & contrast

On white

17.35
#041D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#041D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041D27
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041D27#FFFFFF#000000##FFFFFF
##041D271.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#002020
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041d27;
/* rgb */ color: rgb(4, 29, 39);
/* oklch */ color: oklch(21.7% 0.037 227.6);
Tailwind
colors: {
  custom: {
    50: '#495861',
    500: '#041d27',
    950: '#000000',
  },
}
SCSS
$custom: #041d27;
$custom-light: #495861;
$custom-dark: #000000;
JSON
{
  "hex": "#041d27",
  "rgb": {
    "r": 4,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 197.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.21671,
    "c": 0.03658,
    "h": 227.6
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#041D27
secondary
#6A331D
accent
#6930F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #041D27

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

Preview Lab → · Contrast checker → · Palette generator →

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