#041B28#041B28

#041B28 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.1% C 0.039 H 236.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#041B28
RGBrgb(4, 27, 40)
HSLhsl(202, 82%, 9%)
HSVhsv(202, 90%, 16%)
CMYKcmyk(90%, 32.5%, 0%, 84.3%)
CIE-LABlab(8.68, -3.61, -11.50)
CIE-LCHlch(8.68, 12.06, 252.57°)
OKLaboklab(21.11% -0.0216 -0.0324)
OKLCHoklch(21.11% 0.039 236.3)
XYZxyz(0.8249, 0.9628, 2.1494)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041B28 #281104
analogous
#042823 #041B28 #040928
triadic
#041B28 #28041B #1B2804
tetradic
#041B28 #230428 #281104 #092804
square
#041B28 #230428 #281104 #092804
split-complementary
#041B28 #280409 #282304
monochromatic
#03131C #03131C #041B28 #0A4160 #0F6697

Accessibility & contrast

On white

17.61
#041B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041B28
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041B28#FFFFFF#000000##FFFFFF
##041B281.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041b28;
/* rgb */ color: rgb(4, 27, 40);
/* oklch */ color: oklch(21.1% 0.039 236.3);
Tailwind
colors: {
  custom: {
    50: '#495762',
    500: '#041b28',
    950: '#000000',
  },
}
SCSS
$custom: #041b28;
$custom-light: #495762;
$custom-dark: #000000;
JSON
{
  "hex": "#041b28",
  "rgb": {
    "r": 4,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 201.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.21106,
    "c": 0.039,
    "h": 236.3
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#041B28
secondary
#6B391D
accent
#7830F8
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #041B28

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

Preview Lab → · Contrast checker → · Palette generator →

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