#041F31#041F31

#041F31 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.048 H 241.6°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#041F31
RGBrgb(4, 31, 49)
HSLhsl(204, 85%, 10%)
HSVhsv(204, 92%, 19%)
CMYKcmyk(91.8%, 36.7%, 0%, 80.8%)
CIE-LABlab(10.76, -2.44, -14.83)
CIE-LCHlch(10.76, 15.03, 260.67°)
OKLaboklab(22.93% -0.0227 -0.042)
OKLCHoklch(22.93% 0.048 241.6)
XYZxyz(1.0942, 1.2274, 3.0844)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F31 #311604
analogous
#04312C #041F31 #040831
triadic
#041F31 #31041F #1F3104
tetradic
#041F31 #2C0431 #311604 #083104
square
#041F31 #2C0431 #311604 #083104
split-complementary
#041F31 #310408 #312C04
monochromatic
#02121C #02121C #041F31 #09436A #0D67A2

Accessibility & contrast

On white

16.86
#041F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#041F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F31
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F31#FFFFFF#000000##FFFFFF
##041F311.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F32
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #041f31;
/* rgb */ color: rgb(4, 31, 49);
/* oklch */ color: oklch(22.9% 0.048 241.6);
Tailwind
colors: {
  custom: {
    50: '#4c5a69',
    500: '#041f31',
    950: '#000000',
  },
}
SCSS
$custom: #041f31;
$custom-light: #4c5a69;
$custom-dark: #000000;
JSON
{
  "hex": "#041f31",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 204,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22934,
    "c": 0.04779,
    "h": 241.6
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#041F31
secondary
#73401D
accent
#7F2DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #041F31

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

Preview Lab → · Contrast checker → · Palette generator →

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