#042327#042327

#042327 is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.6% C 0.036 H 207.2°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#042327
RGBrgb(4, 35, 39)
HSLhsl(187, 81%, 8%)
HSVhsv(187, 90%, 15%)
CMYKcmyk(89.7%, 10.3%, 0%, 84.7%)
CIE-LABlab(11.78, -9.58, -5.99)
CIE-LCHlch(11.78, 11.30, 212.03°)
OKLaboklab(23.58% -0.0324 -0.0167)
OKLCHoklch(23.58% 0.036 207.2)
XYZxyz(1.0172, 1.3742, 2.1307)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042327 #270804
analogous
#042719 #042327 #041127
triadic
#042327 #270423 #232704
tetradic
#042327 #190427 #270804 #112704
square
#042327 #190427 #270804 #112704
split-complementary
#042327 #270411 #271904
monochromatic
#03191C #03191C #042327 #0A555F #0F8796

Accessibility & contrast

On white

16.47
#042327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042327
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042327#FFFFFF#000000##FFFFFF
##0423271.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2127
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#002524
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042327;
/* rgb */ color: rgb(4, 35, 39);
/* oklch */ color: oklch(23.6% 0.036 207.2);
Tailwind
colors: {
  custom: {
    50: '#4a5e61',
    500: '#042327',
    950: '#000000',
  },
}
SCSS
$custom: #042327;
$custom-light: #4a5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#042327",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 39
  },
  "hsl": {
    "h": 186.857,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23582,
    "c": 0.03644,
    "h": 207.2
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#042327
secondary
#6A261D
accent
#4730F8
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #042327

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

Preview Lab → · Contrast checker → · Palette generator →

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