#050917

Closest named color: Almost Black (#070D0D). oklch(14.4% 0.032 267.5), rgb(5, 9, 23).

Aa

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

About this color

#050917 is a very dark, muted blue. In OKLCH its lightness is 14%, its chroma 0.032 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.031 away. White text reads best on it, at 19.85:1.

Hue familyBlues
Lightnessvery dark (14%)
Chromamuted (0.032)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.05:1
White text19.85:1

Values

HEX#050917
RGBrgb(5, 9, 23)
HSLhsl(227, 64%, 5%)
OKLCHoklch(14.4% 0.032 267.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 #050917 19.85:1 AAA Lc -107.7 Preferred for body text
Black text on #050917 1.05:1 Fails Lc 0.0 Not readable
#050917 text on white 19.85:1 AAA Lc 105.8 Preferred for body text
#050917 text on black 1.05: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B6C0DA

    oklch(80.8% 0.038 268.8)

  5. Step 400

    400

    #90A0C7

    oklch(70.7% 0.06 267.4)

  6. Step 500

    500

    #7588B9

    oklch(63.1% 0.077 267.8)

  7. Step 600

    600

    #5E71A5

    oklch(55.5% 0.084 268.3)

  8. Step 700

    700

    #4D5F8D

    oklch(49.1% 0.077 267.2)

  9. Step 800

    800

    #3F4E73

    oklch(42.8% 0.065 266.8)

  10. Step 900

    900

    #36415D

    oklch(37.8% 0.05 267.5)

  11. Step 950

    950 (this color)

    #050917

    oklch(14.4% 0.032 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#050917 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)#040A180.004
Deuteranopia (no green cones)#0309170.005
Tritanopia (no blue cones)#010C0E0.028
Achromatopsia (no color)#0A0A0A0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #050917

    #050917

    oklch(14.4% 0.032 267.5)

  • #0F0900

    #0F0900

    oklch(14.4% 0.029 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050917

    #050917

    oklch(14.4% 0.032 267.5)

  • #000B15

    #000B15

    oklch(14.2% 0.032 238.2)

  • #0B0715

    #0B0715

    oklch(14.3% 0.031 296.2)

Open the analogous palette in the generator

Split complementary

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

  • #050917

    #050917

    oklch(14.4% 0.032 267.5)

  • #130601

    #130601

    oklch(14.2% 0.03 53.7)

  • #090B00

    #090B00

    oklch(14.2% 0.032 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050917

    #050917

    oklch(14.4% 0.032 267.5)

  • #150504

    #150504

    oklch(14.4% 0.032 27.2)

  • #020D04

    #020D04

    oklch(14.2% 0.031 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050917

    #050917

    oklch(14.4% 0.032 267.5)

  • #14050A

    #14050A

    oklch(14.5% 0.031 357.9)

  • #0F0900

    #0F0900

    oklch(14.4% 0.029 88.1)

  • #000D0A

    #000D0A

    oklch(14.3% 0.026 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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