#042127#042127

#042127 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 22.9% C 0.036 H 213.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#042127
RGBrgb(4, 33, 39)
HSLhsl(190, 81%, 8%)
HSVhsv(190, 90%, 15%)
CMYKcmyk(89.7%, 15.4%, 0%, 84.7%)
CIE-LABlab(10.99, -8.26, -7.20)
CIE-LCHlch(10.99, 10.96, 221.05°)
OKLaboklab(22.94% -0.0298 -0.0201)
OKLCHoklch(22.94% 0.036 213.9)
XYZxyz(0.9600, 1.2599, 2.1117)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042127 #270A04
analogous
#04271B #042127 #040F27
triadic
#042127 #270421 #212704
tetradic
#042127 #1B0427 #270A04 #0F2704
square
#042127 #1B0427 #270A04 #0F2704
split-complementary
#042127 #27040F #271B04
monochromatic
#03171C #03171C #042127 #0A505F #0F7F96

Accessibility & contrast

On white

16.77
#042127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#042127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042127
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042127#FFFFFF#000000##FFFFFF
##0421271.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2027
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042127;
/* rgb */ color: rgb(4, 33, 39);
/* oklch */ color: oklch(22.9% 0.036 213.9);
Tailwind
colors: {
  custom: {
    50: '#4a5c61',
    500: '#042127',
    950: '#000000',
  },
}
SCSS
$custom: #042127;
$custom-light: #4a5c61;
$custom-dark: #000000;
JSON
{
  "hex": "#042127",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 190.286,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.22942,
    "c": 0.03594,
    "h": 213.9
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#042127
secondary
#6A2A1D
accent
#5230F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #042127

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

Preview Lab → · Contrast checker → · Palette generator →

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