#041F2B#041F2B

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

Color values

HEX#041F2B
RGBrgb(4, 31, 43)
HSLhsl(198, 83%, 9%)
HSVhsv(198, 91%, 17%)
CMYKcmyk(90.7%, 27.9%, 0%, 83.1%)
CIE-LABlab(10.41, -5.16, -11.02)
CIE-LCHlch(10.41, 12.17, 244.90°)
OKLaboklab(22.54% -0.0253 -0.031)
OKLCHoklch(22.54% 0.04 230.8)
XYZxyz(0.9759, 1.1801, 2.4614)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F2B #2B1004
analogous
#042B24 #041F2B #040C2B
triadic
#041F2B #2B041F #1F2B04
tetradic
#041F2B #24042B #2B1004 #0C2B04
square
#041F2B #24042B #2B1004 #0C2B04
split-complementary
#041F2B #2B040C #2B2404
monochromatic
#03141C #03141C #041F2B #094763 #0E709B

Accessibility & contrast

On white

16.99
#041F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F2B
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F2B#FFFFFF#000000##FFFFFF
##041F2B1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2C
Deuteranopia (green-blind)
#131B2B
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #041f2b;
/* rgb */ color: rgb(4, 31, 43);
/* oklch */ color: oklch(22.5% 0.040 230.8);
Tailwind
colors: {
  custom: {
    50: '#4a5a64',
    500: '#041f2b',
    950: '#000000',
  },
}
SCSS
$custom: #041f2b;
$custom-light: #4a5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#041f2b",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 198.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.22543,
    "c": 0.04,
    "h": 230.8
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#041F2B
secondary
#6E361D
accent
#6D2EF9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #041F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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