#041F2A#041F2A

#041F2A is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.5% C 0.039 H 228.5°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#041F2A
RGBrgb(4, 31, 42)
HSLhsl(197, 83%, 9%)
HSVhsv(197, 90%, 16%)
CMYKcmyk(90.5%, 26.2%, 0%, 83.5%)
CIE-LABlab(10.36, -5.60, -10.37)
CIE-LCHlch(10.36, 11.79, 241.62°)
OKLaboklab(22.48% -0.0258 -0.0291)
OKLCHoklch(22.48% 0.039 228.5)
XYZxyz(0.9578, 1.1728, 2.3659)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F2A #2A0F04
analogous
#042A22 #041F2A #040C2A
triadic
#041F2A #2A041F #1F2A04
tetradic
#041F2A #22042A #2A0F04 #0C2A04
square
#041F2A #22042A #2A0F04 #0C2A04
split-complementary
#041F2A #2A040C #2A2204
monochromatic
#03151C #03151C #041F2A #094862 #0F719A

Accessibility & contrast

On white

17.01
#041F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F2A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F2A#FFFFFF#000000##FFFFFF
##041F2A1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041f2a;
/* rgb */ color: rgb(4, 31, 42);
/* oklch */ color: oklch(22.5% 0.039 228.5);
Tailwind
colors: {
  custom: {
    50: '#4a5a63',
    500: '#041f2a',
    950: '#000000',
  },
}
SCSS
$custom: #041f2a;
$custom-light: #4a5a63;
$custom-dark: #000000;
JSON
{
  "hex": "#041f2a",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 197.368,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.22481,
    "c": 0.03888,
    "h": 228.5
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#041F2A
secondary
#6D341D
accent
#692FF9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #041F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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