#0F1927

Closest named color: Rich Black (#0D1B2A). oklch(21.1% 0.032 256.9), rgb(15, 25, 39).

Aa

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

About this color

#0F1927 is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.032 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.008 away. White text reads best on it, at 17.66:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.032)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.66:1

Values

HEX#0F1927
RGBrgb(15, 25, 39)
HSLhsl(215, 44%, 11%)
OKLCHoklch(21.1% 0.032 256.9)

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 #0F1927 17.66:1 AAA Lc -106.7 Preferred for body text
Black text on #0F1927 1.18:1 Fails Lc 0.0 Not readable
#0F1927 text on white 17.66:1 AAA Lc 104.4 Preferred for body text
#0F1927 text on black 1.18: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE7

    oklch(88.5% 0.02 257.5)

  4. Step 300

    300

    #B2C2D9

    oklch(80.9% 0.037 257.4)

  5. Step 400

    400

    #89A2C6

    oklch(70.6% 0.06 257.5)

  6. Step 500

    500

    #6C8BB8

    oklch(63.1% 0.077 257.6)

  7. Step 600

    600

    #5375A4

    oklch(55.7% 0.083 256.6)

  8. Step 700

    700

    #44628C

    oklch(49.1% 0.077 256.9)

  9. Step 800

    800

    #385072

    oklch(42.7% 0.064 257.1)

  10. Step 900

    900

    #30425C

    oklch(37.6% 0.051 257.5)

  11. Step 950

    950 (this color)

    #0F1927

    oklch(21.1% 0.032 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#0F1927 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)#141A280.009
Deuteranopia (no green cones)#1117270.008
Tritanopia (no blue cones)#051C1E0.028
Achromatopsia (no color)#1919190.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1927

    #0F1927

    oklch(21.1% 0.032 256.9)

  • #211707

    #211707

    oklch(21.3% 0.032 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1927

    #0F1927

    oklch(21.1% 0.032 256.9)

  • #061B24

    #061B24

    oklch(21% 0.032 228.7)

  • #181626

    #181626

    oklch(21.1% 0.031 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #0F1927

    #0F1927

    oklch(21.1% 0.032 256.9)

  • #25140C

    #25140C

    oklch(21.2% 0.032 45.8)

  • #1A1A07

    #1A1A07

    oklch(21.2% 0.033 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1927

    #0F1927

    oklch(21.1% 0.032 256.9)

  • #251213

    #251213

    oklch(21% 0.032 16.8)

  • #121C0D

    #121C0D

    oklch(21.2% 0.032 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1927

    #0F1927

    oklch(21.1% 0.032 256.9)

  • #23121B

    #23121B

    oklch(21% 0.032 347.2)

  • #211707

    #211707

    oklch(21.3% 0.032 77.9)

  • #081D15

    #081D15

    oklch(21% 0.032 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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