#042731#042731

#042731 is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.043 H 221.2°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#042731
RGBrgb(4, 39, 49)
HSLhsl(193, 85%, 10%)
HSVhsv(193, 92%, 19%)
CMYKcmyk(91.8%, 20.4%, 0%, 80.8%)
CIE-LABlab(13.82, -8.05, -10.07)
CIE-LCHlch(13.82, 12.89, 231.38°)
OKLaboklab(25.38% -0.0322 -0.0282)
OKLCHoklch(25.38% 0.043 221.2)
XYZxyz(1.3297, 1.6984, 3.1629)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042731 #310E04
analogous
#043124 #042731 #041031
triadic
#042731 #310427 #273104
tetradic
#042731 #240431 #310E04 #103104
square
#042731 #240431 #310E04 #103104
split-complementary
#042731 #310410 #312404
monochromatic
#02171C #02171C #042731 #09546A #0D81A2

Accessibility & contrast

On white

15.67
#042731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#042731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042731
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042731#FFFFFF#000000##FFFFFF
##0427311.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#1B2131
Tritanopia (blue-blind)
#002A2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042731;
/* rgb */ color: rgb(4, 39, 49);
/* oklch */ color: oklch(25.4% 0.043 221.2);
Tailwind
colors: {
  custom: {
    50: '#4c6169',
    500: '#042731',
    950: '#000000',
  },
}
SCSS
$custom: #042731;
$custom-light: #4c6169;
$custom-dark: #000000;
JSON
{
  "hex": "#042731",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 193.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25376,
    "c": 0.04282,
    "h": 221.2
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#042731
secondary
#73301D
accent
#5B2DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010506
muted
#77797A

Preview Lab

Preview with #042731

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

Preview Lab → · Contrast checker → · Palette generator →

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