#041F2F#041F2F

#041F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.045 H 238.5°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#041F2F
RGBrgb(4, 31, 47)
HSLhsl(202, 84%, 10%)
HSVhsv(202, 91%, 18%)
CMYKcmyk(91.5%, 34%, 0%, 81.6%)
CIE-LABlab(10.64, -3.36, -13.57)
CIE-LCHlch(10.64, 13.98, 256.11°)
OKLaboklab(22.8% -0.0235 -0.0384)
OKLCHoklch(22.8% 0.045 238.5)
XYZxyz(1.0529, 1.2109, 2.8670)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F2F #2F1404
analogous
#042F2A #041F2F #04092F
triadic
#041F2F #2F041F #1F2F04
tetradic
#041F2F #2A042F #2F1404 #092F04
square
#041F2F #2A042F #2F1404 #092F04
split-complementary
#041F2F #2F0409 #2F2A04
monochromatic
#02131C #02131C #041F2F #094467 #0E69A0

Accessibility & contrast

On white

16.91
#041F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#041F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F2F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F2F#FFFFFF#000000##FFFFFF
##041F2F1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041f2f;
/* rgb */ color: rgb(4, 31, 47);
/* oklch */ color: oklch(22.8% 0.045 238.5);
Tailwind
colors: {
  custom: {
    50: '#4b5a67',
    500: '#041f2f',
    950: '#000000',
  },
}
SCSS
$custom: #041f2f;
$custom-light: #4b5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#041f2f",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 202.326,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.22799,
    "c": 0.04502,
    "h": 238.5
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#041F2F
secondary
#723D1D
accent
#7A2DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #041F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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