#040922

Closest named color: Midnight (#03012D). oklch(15.3% 0.053 268.2), rgb(4, 9, 34).

Aa

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

About this color

#040922 is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.053 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.036 away. White text reads best on it, at 19.67:1.

Hue familyBlues
Lightnessvery dark (15%)
Chromamuted (0.053)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.06:1
White text19.67:1

Values

HEX#040922
RGBrgb(4, 9, 34)
HSLhsl(230, 79%, 7%)
OKLCHoklch(15.3% 0.053 268.2)

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 #040922 19.67:1 AAA Lc -107.6 Preferred for body text
Black text on #040922 1.06:1 Fails Lc 0.0 Not readable
#040922 text on white 19.67:1 AAA Lc 105.7 Preferred for body text
#040922 text on black 1.06: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AFC0EB

    oklch(80.9% 0.064 268.1)

  5. Step 400

    400

    #869EE0

    oklch(70.7% 0.101 268.5)

  6. Step 500

    500

    #6885D8

    oklch(63.2% 0.13 268)

  7. Step 600

    600

    #506DC5

    oklch(55.6% 0.14 267.9)

  8. Step 700

    700

    #415AAA

    oklch(49% 0.131 268.2)

  9. Step 800

    800

    #364A8A

    oklch(42.7% 0.109 268.5)

  10. Step 900

    900

    #2F3E6E

    oklch(37.6% 0.085 269)

  11. Step 950

    950 (this color)

    #040922

    oklch(15.3% 0.053 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#040922 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)#000D230.015
Deuteranopia (no green cones)#000A220.010
Tritanopia (no blue cones)#000F140.042
Achromatopsia (no color)#0B0B0B0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #040922

    #040922

    oklch(15.3% 0.053 268.2)

  • #110B00

    #110B00

    oklch(15.3% 0.031 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040922

    #040922

    oklch(15.3% 0.053 268.2)

  • #000D18

    #000D18

    oklch(15.1% 0.034 238.7)

  • #0F051F

    #0F051F

    oklch(15.2% 0.055 298.4)

Open the analogous palette in the generator

Split complementary

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

  • #040922

    #040922

    oklch(15.3% 0.053 268.2)

  • #170700

    #170700

    oklch(15.2% 0.037 56.7)

  • #0A0E00

    #0A0E00

    oklch(15.4% 0.037 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040922

    #040922

    oklch(15.3% 0.053 268.2)

  • #1D0201

    #1D0201

    oklch(15.2% 0.053 30.1)

  • #001003

    #001003

    oklch(15.1% 0.042 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040922

    #040922

    oklch(15.3% 0.053 268.2)

  • #1C020C

    #1C020C

    oklch(15.4% 0.053 357.6)

  • #110B00

    #110B00

    oklch(15.3% 0.031 89.9)

  • #00100C

    #00100C

    oklch(15.5% 0.029 177.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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