#041F41#041F41

#041F41 is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.2% C 0.072 H 255.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#041F41
RGBrgb(4, 31, 65)
HSLhsl(213, 88%, 14%)
HSVhsv(213, 94%, 25%)
CMYKcmyk(93.8%, 52.3%, 0%, 74.5%)
CIE-LABlab(11.87, 5.10, -24.46)
CIE-LCHlch(11.87, 24.98, 281.79°)
OKLaboklab(24.17% -0.0178 -0.0703)
OKLCHoklch(24.17% 0.072 255.8)
XYZxyz(1.4938, 1.3872, 5.1890)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F41 #412604
analogous
#043D41 #041F41 #080441
triadic
#041F41 #41041F #1F4104
tetradic
#041F41 #41043D #412604 #044108
square
#041F41 #41043D #412604 #044108
split-complementary
#041F41 #410804 #3D4104
monochromatic
#020E1D #020E1D #041F41 #083A7B #0B56B4

Accessibility & contrast

On white

16.44
#041F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#041F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F41
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F41#FFFFFF#000000##FFFFFF
##041F411.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #041f41;
/* rgb */ color: rgb(4, 31, 65);
/* oklch */ color: oklch(24.2% 0.072 255.8);
Tailwind
colors: {
  custom: {
    50: '#505a76',
    500: '#041f41',
    950: '#000000',
  },
}
SCSS
$custom: #041f41;
$custom-light: #505a76;
$custom-dark: #000000;
JSON
{
  "hex": "#041f41",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 213.443,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24168,
    "c": 0.07249,
    "h": 255.8
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#041F41
secondary
#82561F
accent
#A029FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #041F41

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

Preview Lab → · Contrast checker → · Palette generator →

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