#0F1631

Closest named color: Rich Black (#0D1B2A). oklch(21% 0.054 270.3), rgb(15, 22, 49).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.054)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.80:1

Values

HEX#0F1631
RGBrgb(15, 22, 49)
HSLhsl(228, 53%, 13%)
OKLCHoklch(21% 0.054 270.3)

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 #0F1631 17.80:1 AAA Lc -106.7 Preferred for body text
Black text on #0F1631 1.17:1 Fails Lc 0.0 Not readable
#0F1631 text on white 17.80:1 AAA Lc 104.5 Preferred for body text
#0F1631 text on black 1.17: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #D0D9F2

    oklch(88.6% 0.036 269.9)

  4. Step 300

    300

    #B0BFEB

    oklch(80.8% 0.065 270.2)

  5. Step 400

    400

    #889DE1

    oklch(70.7% 0.103 270.5)

  6. Step 500

    500

    #6B84D9

    oklch(63.2% 0.131 270)

  7. Step 600

    600

    #546BC6

    oklch(55.5% 0.143 270.5)

  8. Step 700

    700

    #4559AB

    oklch(49.1% 0.133 270.6)

  9. Step 800

    800

    #38498B

    oklch(42.6% 0.111 270.3)

  10. Step 900

    900

    #303E6F

    oklch(37.7% 0.086 269.9)

  11. Step 950

    950 (this color)

    #0F1631

    oklch(21% 0.054 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#0F1631 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)#0919320.012
Deuteranopia (no green cones)#0516300.014
Tritanopia (no blue cones)#001C210.047
Achromatopsia (no color)#1818180.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1631

    #0F1631

    oklch(21% 0.054 270.3)

  • #201700

    #201700

    oklch(21% 0.043 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1631

    #0F1631

    oklch(21% 0.054 270.3)

  • #001B2C

    #001B2C

    oklch(21.1% 0.048 239.2)

  • #1D112D

    #1D112D

    oklch(21% 0.055 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #0F1631

    #0F1631

    oklch(21% 0.054 270.3)

  • #281200

    #281200

    oklch(21% 0.049 60.9)

  • #151B00

    #151B00

    oklch(20.8% 0.05 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1631

    #0F1631

    oklch(21% 0.054 270.3)

  • #2D0D08

    #2D0D08

    oklch(21.1% 0.054 31.2)

  • #021F0A

    #021F0A

    oklch(21.1% 0.054 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1631

    #0F1631

    oklch(21% 0.054 270.3)

  • #2B0C17

    #2B0C17

    oklch(21% 0.053 0.6)

  • #201700

    #201700

    oklch(21% 0.043 89.6)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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