#041F28#041F28

#041F28 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.4% C 0.037 H 223.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#041F28
RGBrgb(4, 31, 40)
HSLhsl(195, 82%, 9%)
HSVhsv(195, 90%, 16%)
CMYKcmyk(90%, 22.5%, 0%, 84.3%)
CIE-LABlab(10.25, -6.48, -9.07)
CIE-LCHlch(10.25, 11.14, 234.45°)
OKLaboklab(22.36% -0.0267 -0.0254)
OKLCHoklch(22.36% 0.037 223.5)
XYZxyz(0.9229, 1.1589, 2.1821)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F28 #280D04
analogous
#04281F #041F28 #040D28
triadic
#041F28 #28041F #1F2804
tetradic
#041F28 #1F0428 #280D04 #0D2804
square
#041F28 #1F0428 #280D04 #0D2804
split-complementary
#041F28 #28040D #281F04
monochromatic
#03161C #03161C #041F28 #0A4A60 #0F7597

Accessibility & contrast

On white

17.05
#041F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#041F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F28
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F28#FFFFFF#000000##FFFFFF
##041F281.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E28
Deuteranopia (green-blind)
#151A28
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041f28;
/* rgb */ color: rgb(4, 31, 40);
/* oklch */ color: oklch(22.4% 0.037 223.5);
Tailwind
colors: {
  custom: {
    50: '#495a61',
    500: '#041f28',
    950: '#000000',
  },
}
SCSS
$custom: #041f28;
$custom-light: #495a61;
$custom-dark: #000000;
JSON
{
  "hex": "#041f28",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 195,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22363,
    "c": 0.03687,
    "h": 223.5
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#041F28
secondary
#6B301D
accent
#6230F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #041F28

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

Preview Lab → · Contrast checker → · Palette generator →

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