#042123#042123

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

Color values

HEX#042123
RGBrgb(4, 33, 35)
HSLhsl(184, 79%, 8%)
HSVhsv(184, 89%, 14%)
CMYKcmyk(88.6%, 5.7%, 0%, 86.3%)
CIE-LABlab(10.81, -9.90, -4.54)
CIE-LCHlch(10.81, 10.89, 204.64°)
OKLaboklab(22.74% -0.032 -0.0126)
OKLCHoklch(22.74% 0.034 201.5)
XYZxyz(0.8972, 1.2348, 1.7808)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042123 #230604
analogous
#042315 #042123 #041123
triadic
#042123 #230421 #212304
tetradic
#042123 #150423 #230604 #112304
square
#042123 #150423 #230604 #112304
split-complementary
#042123 #230411 #231504
monochromatic
#031A1B #031A1B #042123 #0A555A #118991

Accessibility & contrast

On white

16.84
#042123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042123
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042123#FFFFFF#000000##FFFFFF
##0421231.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F23
Deuteranopia (green-blind)
#191C23
Tritanopia (blue-blind)
#002322
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042123;
/* rgb */ color: rgb(4, 33, 35);
/* oklch */ color: oklch(22.7% 0.034 201.5);
Tailwind
colors: {
  custom: {
    50: '#495c5d',
    500: '#042123',
    950: '#000000',
  },
}
SCSS
$custom: #042123;
$custom-light: #495c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#042123",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 35
  },
  "hsl": {
    "h": 183.871,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22737,
    "c": 0.03441,
    "h": 201.5
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#042123
secondary
#66221D
accent
#3F32F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #042123

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

Preview Lab → · Contrast checker → · Palette generator →

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