#040926

Closest named color: Midnight (#03012D). oklch(15.7% 0.061 268.6), rgb(4, 9, 38).

Aa

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

About this color

#040926 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.061 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.031 away. White text reads best on it, at 19.58:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.061)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.58:1

Values

HEX#040926
RGBrgb(4, 9, 38)
HSLhsl(231, 81%, 8%)
OKLCHoklch(15.7% 0.061 268.6)

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 #040926 19.58:1 AAA Lc -107.5 Preferred for body text
Black text on #040926 1.07:1 Fails Lc 0.0 Not readable
#040926 text on white 19.58:1 AAA Lc 105.6 Preferred for body text
#040926 text on black 1.07: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ADBFF0

    oklch(80.8% 0.072 269)

  5. Step 400

    400

    #839DE9

    oklch(70.7% 0.116 268.9)

  6. Step 500

    500

    #6583E2

    oklch(63.2% 0.147 268.7)

  7. Step 600

    600

    #4D6AD0

    oklch(55.6% 0.16 268.8)

  8. Step 700

    700

    #3E58B4

    oklch(49.1% 0.149 268.6)

  9. Step 800

    800

    #334891

    oklch(42.5% 0.123 268.7)

  10. Step 900

    900

    #2C3D74

    oklch(37.6% 0.096 268.5)

  11. Step 950

    950 (this color)

    #040926

    oklch(15.7% 0.061 268.6)

Export this scale for Tailwind in the Tailwind colors tool

#040926 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)#000E270.017
Deuteranopia (no green cones)#000A250.010
Tritanopia (no blue cones)#0010160.046
Achromatopsia (no color)#0C0C0C0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #040926

    #040926

    oklch(15.7% 0.061 268.6)

  • #120C00

    #120C00

    oklch(15.8% 0.032 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040926

    #040926

    oklch(15.7% 0.061 268.6)

  • #000E1A

    #000E1A

    oklch(15.6% 0.036 240.1)

  • #110522

    #110522

    oklch(15.8% 0.06 299.3)

Open the analogous palette in the generator

Split complementary

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

  • #040926

    #040926

    oklch(15.7% 0.061 268.6)

  • #180800

    #180800

    oklch(15.7% 0.037 58.7)

  • #0B0F00

    #0B0F00

    oklch(15.8% 0.038 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040926

    #040926

    oklch(15.7% 0.061 268.6)

  • #210101

    #210101

    oklch(15.9% 0.061 27.8)

  • #001203

    #001203

    oklch(15.9% 0.046 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040926

    #040926

    oklch(15.7% 0.061 268.6)

  • #1F010C

    #1F010C

    oklch(15.8% 0.06 359.6)

  • #120C00

    #120C00

    oklch(15.8% 0.032 90.7)

  • #00110D

    #00110D

    oklch(15.9% 0.029 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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