#0B0B27

Closest named color: Midnight (#03012D). oklch(17% 0.056 278.6), rgb(11, 11, 39).

Aa

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

About this color

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

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

Values

HEX#0B0B27
RGBrgb(11, 11, 39)
HSLhsl(240, 56%, 10%)
OKLCHoklch(17% 0.056 278.6)

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

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D3D7F2

    oklch(88.4% 0.037 278.9)

  4. Step 300

    300

    #B6BDEC

    oklch(80.9% 0.067 278.2)

  5. Step 400

    400

    #929AE2

    oklch(70.8% 0.105 278.5)

  6. Step 500

    500

    #787FDA

    oklch(63.1% 0.136 278.4)

  7. Step 600

    600

    #6266C7

    oklch(55.5% 0.148 278.7)

  8. Step 700

    700

    #5254AC

    oklch(49% 0.137 279.1)

  9. Step 800

    800

    #43468C

    oklch(42.9% 0.114 278.6)

  10. Step 900

    900

    #383B6F

    oklch(37.7% 0.088 278.8)

  11. Step 950

    950 (this color)

    #0B0B27

    oklch(17% 0.056 278.6)

Export this scale for Tailwind in the Tailwind colors tool

#0B0B27 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)#0010280.024
Deuteranopia (no green cones)#000D260.023
Tritanopia (no blue cones)#0112170.049
Achromatopsia (no color)#0E0E0E0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B0B27

    #0B0B27

    oklch(17% 0.056 278.6)

  • #130F00

    #130F00

    oklch(16.8% 0.035 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B0B27

    #0B0B27

    oklch(17% 0.056 278.6)

  • #001022

    #001022

    oklch(16.9% 0.046 248.4)

  • #160722

    #160722

    oklch(17% 0.056 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #0B0B27

    #0B0B27

    oklch(17% 0.056 278.6)

  • #1A0C00

    #1A0C00

    oklch(17.1% 0.037 68.6)

  • #091300

    #091300

    oklch(17% 0.045 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B0B27

    #0B0B27

    oklch(17% 0.056 278.6)

  • #220500

    #220500

    oklch(17.1% 0.054 39.2)

  • #001409

    #001409

    oklch(16.9% 0.038 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B0B27

    #0B0B27

    oklch(17% 0.056 278.6)

  • #22030A

    #22030A

    oklch(16.9% 0.056 9.1)

  • #130F00

    #130F00

    oklch(16.8% 0.035 98.4)

  • #001312

    #001312

    oklch(16.9% 0.029 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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