#0A0B28

Closest named color: Midnight (#03012D). oklch(17% 0.058 276.8), rgb(10, 11, 40).

Aa

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

About this color

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

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

Values

HEX#0A0B28
RGBrgb(10, 11, 40)
HSLhsl(238, 60%, 10%)
OKLCHoklch(17% 0.058 276.8)

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 #0A0B28 19.24:1 AAA Lc -107.4 Preferred for body text
Black text on #0A0B28 1.09:1 Fails Lc 0.0 Not readable
#0A0B28 text on white 19.24:1 AAA Lc 105.4 Preferred for body text
#0A0B28 text on black 1.09: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

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F3

    oklch(88.4% 0.039 277.6)

  4. Step 300

    300

    #B5BDEE

    oklch(80.9% 0.07 277.5)

  5. Step 400

    400

    #8F9AE5

    oklch(70.7% 0.11 276.8)

  6. Step 500

    500

    #757FDD

    oklch(63.1% 0.141 277)

  7. Step 600

    600

    #5E66CB

    oklch(55.5% 0.154 276.7)

  8. Step 700

    700

    #4E55AF

    oklch(49.1% 0.141 276.5)

  9. Step 800

    800

    #40468E

    oklch(42.8% 0.117 276.6)

  10. Step 900

    900

    #363B71

    oklch(37.6% 0.092 277.1)

  11. Step 950

    950 (this color)

    #0A0B28

    oklch(17% 0.058 276.8)

Export this scale for Tailwind in the Tailwind colors tool

#0A0B28 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)#0010290.023
Deuteranopia (no green cones)#000D270.021
Tritanopia (no blue cones)#0012170.051
Achromatopsia (no color)#0E0E0E0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A0B28

    #0A0B28

    oklch(17% 0.058 276.8)

  • #140F00

    #140F00

    oklch(17% 0.035 95.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A0B28

    #0A0B28

    oklch(17% 0.058 276.8)

  • #001022

    #001022

    oklch(16.9% 0.046 248.4)

  • #160723

    #160723

    oklch(17.1% 0.058 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #0A0B28

    #0A0B28

    oklch(17% 0.058 276.8)

  • #1A0C00

    #1A0C00

    oklch(17.1% 0.037 68.6)

  • #0A1300

    #0A1300

    oklch(17.1% 0.045 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A0B28

    #0A0B28

    oklch(17% 0.058 276.8)

  • #230400

    #230400

    oklch(17.1% 0.057 36.8)

  • #001508

    #001508

    oklch(17.2% 0.042 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A0B28

    #0A0B28

    oklch(17% 0.058 276.8)

  • #23030B

    #23030B

    oklch(17.2% 0.058 7.9)

  • #140F00

    #140F00

    oklch(17% 0.035 95.5)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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