#050826

Closest named color: Midnight (#03012D). oklch(15.6% 0.062 271.5), rgb(5, 8, 38).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.062)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.06:1
White text19.64:1

Values

HEX#050826
RGBrgb(5, 8, 38)
HSLhsl(235, 77%, 8%)
OKLCHoklch(15.6% 0.062 271.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 #050826 19.64:1 AAA Lc -107.6 Preferred for body text
Black text on #050826 1.06:1 Fails Lc 0.0 Not readable
#050826 text on white 19.64:1 AAA Lc 105.6 Preferred for body text
#050826 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F5

    oklch(88.4% 0.041 271.9)

  4. Step 300

    300

    #AFBFF1

    oklch(81% 0.073 270.9)

  5. Step 400

    400

    #869CEA

    oklch(70.8% 0.117 271.2)

  6. Step 500

    500

    #6A81E3

    oklch(63.1% 0.149 271.6)

  7. Step 600

    600

    #5368D1

    oklch(55.6% 0.163 271.6)

  8. Step 700

    700

    #4456B5

    oklch(49.1% 0.151 271.7)

  9. Step 800

    800

    #374793

    oklch(42.7% 0.126 271.2)

  10. Step 900

    900

    #303C75

    oklch(37.7% 0.098 272)

  11. Step 950

    950 (this color)

    #050826

    oklch(15.6% 0.062 271.5)

Export this scale for Tailwind in the Tailwind colors tool

#050826 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)#000D270.018
Deuteranopia (no green cones)#000A250.013
Tritanopia (no blue cones)#0010150.051
Achromatopsia (no color)#0B0B0B0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #050826

    #050826

    oklch(15.6% 0.062 271.5)

  • #110C00

    #110C00

    oklch(15.6% 0.032 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050826

    #050826

    oklch(15.6% 0.062 271.5)

  • #000E1A

    #000E1A

    oklch(15.6% 0.036 240.1)

  • #120422

    #120422

    oklch(15.7% 0.063 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #050826

    #050826

    oklch(15.6% 0.062 271.5)

  • #170800

    #170800

    oklch(15.5% 0.036 60.7)

  • #0A0F00

    #0A0F00

    oklch(15.7% 0.038 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050826

    #050826

    oklch(15.6% 0.062 271.5)

  • #200100

    #200100

    oklch(15.6% 0.06 31.4)

  • #001104

    #001104

    oklch(15.5% 0.042 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050826

    #050826

    oklch(15.6% 0.062 271.5)

  • #1F000B

    #1F000B

    oklch(15.5% 0.063 0.1)

  • #110C00

    #110C00

    oklch(15.6% 0.032 93.9)

  • #00100D

    #00100D

    oklch(15.5% 0.028 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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