#042133

Closest named color: Rich Black (#0D1B2A). oklch(23.7% 0.049 240.1), rgb(4, 33, 51).

Aa

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

About this color

#042133 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.049 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.024 away. White text reads best on it, at 16.52:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.049)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.27:1
White text16.52:1

Values

HEX#042133
RGBrgb(4, 33, 51)
HSLhsl(203, 85%, 11%)
OKLCHoklch(23.7% 0.049 240.1)

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 #042133 16.52:1 AAA Lc -105.8 Preferred for body text
Black text on #042133 1.27:1 Fails Lc 0.0 Not readable
#042133 text on white 16.52:1 AAA Lc 103.3 Preferred for body text
#042133 text on black 1.27: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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DDED

    oklch(88.6% 0.032 239.4)

  4. Step 300

    300

    #A0C6E3

    oklch(80.9% 0.058 241.3)

  5. Step 400

    400

    #69A8D4

    oklch(70.6% 0.092 240.3)

  6. Step 500

    500

    #3992C9

    oklch(63.1% 0.118 239.8)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #104666

    oklch(37.7% 0.077 240.2)

  11. Step 950

    950 (this color)

    #042133

    oklch(23.7% 0.049 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#042133 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)#1821340.024
Deuteranopia (no green cones)#121D330.019
Tritanopia (no blue cones)#0026270.034
Achromatopsia (no color)#1F1F1F0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #042133

    #042133

    oklch(23.7% 0.049 240.1)

  • #2F1804

    #2F1804

    oklch(23.7% 0.049 59.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042133

    #042133

    oklch(23.7% 0.049 240.1)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

  • #161D35

    #161D35

    oklch(23.7% 0.047 270.2)

Open the analogous palette in the generator

Split complementary

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

  • #042133

    #042133

    oklch(23.7% 0.049 240.1)

  • #321510

    #321510

    oklch(23.8% 0.048 31.1)

  • #271D00

    #271D00

    oklch(23.6% 0.048 90.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042133

    #042133

    oklch(23.7% 0.049 240.1)

  • #31141D

    #31141D

    oklch(23.8% 0.048 1.7)

  • #1C2204

    #1C2204

    oklch(23.8% 0.05 119.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042133

    #042133

    oklch(23.7% 0.049 240.1)

  • #2B1529

    #2B1529

    oklch(23.6% 0.049 330.3)

  • #2F1804

    #2F1804

    oklch(23.7% 0.049 59.3)

  • #0A2512

    #0A2512

    oklch(23.7% 0.049 150.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042133 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.