#042131#042131

#042131 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.5% C 0.046 H 237.0°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#042131
RGBrgb(4, 33, 49)
HSLhsl(201, 85%, 10%)
HSVhsv(201, 92%, 19%)
CMYKcmyk(91.8%, 32.7%, 0%, 80.8%)
CIE-LABlab(11.52, -3.89, -13.64)
CIE-LCHlch(11.52, 14.18, 254.07°)
OKLaboklab(23.54% -0.025 -0.0385)
OKLCHoklch(23.54% 0.046 237)
XYZxyz(1.1481, 1.3351, 3.1023)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042131 #311404
analogous
#04312A #042131 #040B31
triadic
#042131 #310421 #213104
tetradic
#042131 #2A0431 #311404 #0B3104
square
#042131 #2A0431 #311404 #0B3104
split-complementary
#042131 #31040B #312A04
monochromatic
#02131C #02131C #042131 #09476A #0D6DA2

Accessibility & contrast

On white

16.57
#042131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042131
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042131#FFFFFF#000000##FFFFFF
##0421311.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192132
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#002527
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042131;
/* rgb */ color: rgb(4, 33, 49);
/* oklch */ color: oklch(23.5% 0.046 237.0);
Tailwind
colors: {
  custom: {
    50: '#4c5c69',
    500: '#042131',
    950: '#000000',
  },
}
SCSS
$custom: #042131;
$custom-light: #4c5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#042131",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 201.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.23538,
    "c": 0.04597,
    "h": 237
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#042131
secondary
#733C1D
accent
#762DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042131

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

Preview Lab → · Contrast checker → · Palette generator →

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