#042123

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.034 201.5), rgb(4, 33, 35).

Aa

White text reads best on this color (16.84:1).

About this color

#042123 is a very dark, muted teal or cyan. In OKLCH its lightness is 23%, its chroma 0.034 and its hue 201°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.031 away. White text reads best on it, at 16.84:1.

Hue familyTeals and cyans
Lightnessvery dark (23%)
Chromamuted (0.034)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.84:1

Values

HEX#042123
RGBrgb(4, 33, 35)
HSLhsl(184, 79%, 8%)
OKLCHoklch(22.7% 0.034 201.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #042123 16.84:1 AAA Lc -106.0 Preferred for body text
Black text on #042123 1.24:1 Fails Lc 0.0 Not readable
#042123 text on white 16.84:1 AAA Lc 103.6 Preferred for body text
#042123 text on black 1.24:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F1F7F7

    oklch(97.2% 0.006 197.1)

  2. Step 100

    100

    #E1ECED

    oklch(93.5% 0.012 203.5)

  3. Step 200

    200

    #C9DEDF

    oklch(88.5% 0.022 200.2)

  4. Step 300

    300

    #A3C9CC

    oklch(80.9% 0.041 202.3)

  5. Step 400

    400

    #6EADB2

    oklch(70.7% 0.065 202.2)

  6. Step 500

    500

    #41999F

    oklch(63.2% 0.084 201.4)

  7. Step 600

    600

    #148389

    oklch(55.7% 0.091 200.8)

  8. Step 700

    700

    #006E74

    oklch(49% 0.083 201.4)

  9. Step 800

    800

    #0A5A5F

    oklch(42.7% 0.07 201.7)

  10. Step 900

    900

    #154A4E

    oklch(37.7% 0.055 202.3)

  11. Step 950

    950 (this color)

    #042123

    oklch(22.7% 0.034 201.5)

Export this scale for Tailwind in the Tailwind colors tool

#042123 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1E1F230.035
Deuteranopia (no green cones)#191C230.031
Tritanopia (no blue cones)#0023220.009
Achromatopsia (no color)#1D1D1D0.035

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #042123

    #042123

    oklch(22.7% 0.034 201.5)

  • #2A1615

    #2A1615

    oklch(22.8% 0.033 23.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042123

    #042123

    oklch(22.7% 0.034 201.5)

  • #08211A

    #08211A

    oklch(22.6% 0.034 172)

  • #091F2A

    #091F2A

    oklch(22.7% 0.035 233)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #042123

    #042123

    oklch(22.7% 0.034 201.5)

  • #29151E

    #29151E

    oklch(22.7% 0.036 351.8)

  • #29170D

    #29170D

    oklch(22.6% 0.034 49.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042123

    #042123

    oklch(22.7% 0.034 201.5)

  • #241726

    #241726

    oklch(22.8% 0.034 322)

  • #241B08

    #241B08

    oklch(22.8% 0.034 84.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042123

    #042123

    oklch(22.7% 0.034 201.5)

  • #1C192B

    #1C192B

    oklch(22.6% 0.035 291)

  • #2A1615

    #2A1615

    oklch(22.8% 0.033 23.1)

  • #1D1E0A

    #1D1E0A

    oklch(22.8% 0.034 111.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #042123, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #042123 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.