#041731#041731

#041731 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.058 H 256.1°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#041731
RGBrgb(4, 23, 49)
HSLhsl(215, 85%, 10%)
HSVhsv(215, 92%, 19%)
CMYKcmyk(91.8%, 53.1%, 0%, 80.8%)
CIE-LABlab(7.77, 3.74, -19.58)
CIE-LCHlch(7.77, 19.93, 280.80°)
OKLaboklab(20.59% -0.0139 -0.0561)
OKLCHoklch(20.59% 0.058 256.1)
XYZxyz(0.9106, 0.8602, 3.0232)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041731 #311E04
analogous
#042D31 #041731 #080431
triadic
#041731 #310417 #173104
tetradic
#041731 #31042D #311E04 #043108
square
#041731 #31042D #311E04 #043108
split-complementary
#041731 #310804 #2D3104
monochromatic
#020D1C #020D1C #041731 #09326A #0D4CA2

Accessibility & contrast

On white

17.92
#041731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#041731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041731
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041731#FFFFFF#000000##FFFFFF
##0417311.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1932
Deuteranopia (green-blind)
#031530
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041731;
/* rgb */ color: rgb(4, 23, 49);
/* oklch */ color: oklch(20.6% 0.058 256.1);
Tailwind
colors: {
  custom: {
    50: '#4b5369',
    500: '#041731',
    950: '#000000',
  },
}
SCSS
$custom: #041731;
$custom-light: #4b5369;
$custom-dark: #000000;
JSON
{
  "hex": "#041731",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 214.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20591,
    "c": 0.05783,
    "h": 256.1
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#041731
secondary
#734F1D
accent
#A42DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041731

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

Preview Lab → · Contrast checker → · Palette generator →

#041731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva