#0B0B28

Closest named color: Midnight (#03012D). oklch(17.1% 0.058 278.4), rgb(11, 11, 40).

Aa

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

About this color

#0B0B28 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.043 away. White text reads best on it, at 19.21:1.

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

Values

HEX#0B0B28
RGBrgb(11, 11, 40)
HSLhsl(240, 57%, 10%)
OKLCHoklch(17.1% 0.058 278.4)

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

    #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

    #9199E4

    oklch(70.6% 0.11 278.5)

  6. Step 500

    500

    #777EDC

    oklch(63% 0.14 278.3)

  7. Step 600

    600

    #6166CA

    oklch(55.6% 0.152 278.1)

  8. Step 700

    700

    #5154AF

    oklch(49.2% 0.142 278.4)

  9. Step 800

    800

    #42458D

    oklch(42.6% 0.117 278.4)

  10. Step 900

    900

    #373B71

    oklch(37.7% 0.091 277.9)

  11. Step 950

    950 (this color)

    #0B0B28

    oklch(17.1% 0.058 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#0B0B28 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.024
Deuteranopia (no green cones)#000D270.022
Tritanopia (no blue cones)#0012170.052
Achromatopsia (no color)#0F0F0F0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B0B28

    #0B0B28

    oklch(17.1% 0.058 278.4)

  • #141000

    #141000

    oklch(17.3% 0.036 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B0B28

    #0B0B28

    oklch(17.1% 0.058 278.4)

  • #001023

    #001023

    oklch(17% 0.048 249.6)

  • #170722

    #170722

    oklch(17.2% 0.057 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #0B0B28

    #0B0B28

    oklch(17.1% 0.058 278.4)

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

  • #0B0B28

    #0B0B28

    oklch(17.1% 0.058 278.4)

  • #230500

    #230500

    oklch(17.3% 0.056 38.7)

  • #001509

    #001509

    oklch(17.2% 0.04 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B0B28

    #0B0B28

    oklch(17.1% 0.058 278.4)

  • #23030B

    #23030B

    oklch(17.2% 0.058 7.9)

  • #141000

    #141000

    oklch(17.3% 0.036 98.8)

  • #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 #0B0B28, closest first.

Similar named colors

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

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