#042023#042023

#042023 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.4% C 0.034 H 205.0°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#042023
RGBrgb(4, 32, 35)
HSLhsl(186, 79%, 8%)
HSVhsv(186, 89%, 14%)
CMYKcmyk(88.6%, 8.6%, 0%, 86.3%)
CIE-LABlab(10.41, -9.25, -5.15)
CIE-LCHlch(10.41, 10.59, 209.09°)
OKLaboklab(22.41% -0.0307 -0.0143)
OKLCHoklch(22.41% 0.034 205)
XYZxyz(0.8698, 1.1801, 1.7717)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042023 #230704
analogous
#042316 #042023 #041123
triadic
#042023 #230420 #202304
tetradic
#042023 #160423 #230704 #112304
square
#042023 #160423 #230704 #112304
split-complementary
#042023 #230411 #231604
monochromatic
#03191B #03191B #042023 #0A525A #118491

Accessibility & contrast

On white

16.99
#042023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#042023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042023
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042023#FFFFFF#000000##FFFFFF
##0420231.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1E23
Deuteranopia (green-blind)
#181B23
Tritanopia (blue-blind)
#002221
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042023;
/* rgb */ color: rgb(4, 32, 35);
/* oklch */ color: oklch(22.4% 0.034 205.0);
Tailwind
colors: {
  custom: {
    50: '#495b5d',
    500: '#042023',
    950: '#000000',
  },
}
SCSS
$custom: #042023;
$custom-light: #495b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#042023",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 35
  },
  "hsl": {
    "h": 185.806,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22412,
    "c": 0.03386,
    "h": 205
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#042023
secondary
#66241D
accent
#4532F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042023

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

Preview Lab → · Contrast checker → · Palette generator →

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