#0A0A27

Closest named color: Midnight (#03012D). oklch(16.7% 0.058 278.1), rgb(10, 10, 39).

Aa

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

About this color

#0A0A27 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.058 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 19.34:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.058)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.08:1
White text19.34:1

Values

HEX#0A0A27
RGBrgb(10, 10, 39)
HSLhsl(240, 59%, 10%)
OKLCHoklch(16.7% 0.058 278.1)

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 #0A0A27 19.34:1 AAA Lc -107.5 Preferred for body text
Black text on #0A0A27 1.08:1 Fails Lc 0.0 Not readable
#0A0A27 text on white 19.34:1 AAA Lc 105.5 Preferred for body text
#0A0A27 text on black 1.08: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D3D7F3

    oklch(88.5% 0.039 279.1)

  4. Step 300

    300

    #B6BDED

    oklch(80.9% 0.068 278.3)

  5. Step 400

    400

    #9199E5

    oklch(70.7% 0.111 278.5)

  6. Step 500

    500

    #777EDD

    oklch(63% 0.142 278.3)

  7. Step 600

    600

    #6166CA

    oklch(55.6% 0.152 278.1)

  8. Step 700

    700

    #5054AF

    oklch(49.1% 0.142 277.9)

  9. Step 800

    800

    #42458E

    oklch(42.7% 0.118 278.4)

  10. Step 900

    900

    #373B71

    oklch(37.7% 0.091 277.9)

  11. Step 950

    950 (this color)

    #0A0A27

    oklch(16.7% 0.058 278.1)

Export this scale for Tailwind in the Tailwind colors tool

#0A0A27 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)#000F280.023
Deuteranopia (no green cones)#000D260.022
Tritanopia (no blue cones)#0011160.051
Achromatopsia (no color)#0E0E0E0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A0A27

    #0A0A27

    oklch(16.7% 0.058 278.1)

  • #130F00

    #130F00

    oklch(16.8% 0.035 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A0A27

    #0A0A27

    oklch(16.7% 0.058 278.1)

  • #001021

    #001021

    oklch(16.8% 0.044 247.1)

  • #160622

    #160622

    oklch(16.8% 0.059 308)

Open the analogous palette in the generator

Split complementary

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

  • #0A0A27

    #0A0A27

    oklch(16.7% 0.058 278.1)

  • #190B00

    #190B00

    oklch(16.7% 0.037 67.3)

  • #091200

    #091200

    oklch(16.7% 0.044 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A0A27

    #0A0A27

    oklch(16.7% 0.058 278.1)

  • #210400

    #210400

    oklch(16.6% 0.055 37.6)

  • #001408

    #001408

    oklch(16.8% 0.04 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A0A27

    #0A0A27

    oklch(16.7% 0.058 278.1)

  • #22020A

    #22020A

    oklch(16.7% 0.059 7.6)

  • #130F00

    #130F00

    oklch(16.8% 0.035 98.4)

  • #001311

    #001311

    oklch(16.8% 0.029 186.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0A0A27 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.