#050A23

Closest named color: Midnight (#03012D). oklch(15.8% 0.053 269.2), rgb(5, 10, 35).

Aa

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

About this color

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

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

Values

HEX#050A23
RGBrgb(5, 10, 35)
HSLhsl(230, 75%, 8%)
OKLCHoklch(15.8% 0.053 269.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 #050A23 19.55:1 AAA Lc -107.6 Preferred for body text
Black text on #050A23 1.07:1 Fails Lc 0.0 Not readable
#050A23 text on white 19.55:1 AAA Lc 105.6 Preferred for body text
#050A23 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D9F1

    oklch(88.6% 0.034 269.3)

  4. Step 300

    300

    #B0C0EA

    oklch(81% 0.062 268.6)

  5. Step 400

    400

    #879EE0

    oklch(70.7% 0.101 269)

  6. Step 500

    500

    #6A84D7

    oklch(63% 0.129 269.3)

  7. Step 600

    600

    #536CC4

    oklch(55.5% 0.139 269.5)

  8. Step 700

    700

    #435AAA

    oklch(49.1% 0.13 269.1)

  9. Step 800

    800

    #374A89

    oklch(42.7% 0.107 268.9)

  10. Step 900

    900

    #303E6E

    oklch(37.7% 0.084 269.8)

  11. Step 950

    950 (this color)

    #050A23

    oklch(15.8% 0.053 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#050A23 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)#000E240.016
Deuteranopia (no green cones)#000B220.012
Tritanopia (no blue cones)#0010140.044
Achromatopsia (no color)#0C0C0C0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #050A23

    #050A23

    oklch(15.8% 0.053 269.2)

  • #120C00

    #120C00

    oklch(15.8% 0.032 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050A23

    #050A23

    oklch(15.8% 0.053 269.2)

  • #000E1A

    #000E1A

    oklch(15.6% 0.036 240.1)

  • #100620

    #100620

    oklch(15.7% 0.054 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #050A23

    #050A23

    oklch(15.8% 0.053 269.2)

  • #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.

  • #050A23

    #050A23

    oklch(15.8% 0.053 269.2)

  • #1F0302

    #1F0302

    oklch(16% 0.053 28.7)

  • #001203

    #001203

    oklch(15.9% 0.046 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050A23

    #050A23

    oklch(15.8% 0.053 269.2)

  • #1D020C

    #1D020C

    oklch(15.6% 0.054 358.7)

  • #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 #050A23, closest first.

Similar named colors

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

Use #050A23 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.