#0F1937

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.06 267.5), rgb(15, 25, 55).

Aa

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

About this color

#0F1937 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.060 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.028 away. White text reads best on it, at 17.29:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.060)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.29:1

Values

HEX#0F1937
RGBrgb(15, 25, 55)
HSLhsl(225, 57%, 14%)
OKLCHoklch(22.3% 0.06 267.5)

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 #0F1937 17.29:1 AAA Lc -106.4 Preferred for body text
Black text on #0F1937 1.21:1 Fails Lc 0.0 Not readable
#0F1937 text on white 17.29:1 AAA Lc 104.0 Preferred for body text
#0F1937 text on black 1.21: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ACC0F0

    oklch(80.9% 0.072 267.1)

  5. Step 400

    400

    #819EE8

    oklch(70.7% 0.114 267.2)

  6. Step 500

    500

    #6384E1

    oklch(63.2% 0.145 267.5)

  7. Step 600

    600

    #4B6BCF

    oklch(55.6% 0.158 267.7)

  8. Step 700

    700

    #3C59B3

    oklch(49.1% 0.147 267.4)

  9. Step 800

    800

    #324991

    oklch(42.7% 0.122 267.7)

  10. Step 900

    900

    #2B3E74

    oklch(37.8% 0.095 267.2)

  11. Step 950

    950 (this color)

    #0F1937

    oklch(22.3% 0.06 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F1937 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)#0A1D380.014
Deuteranopia (no green cones)#0519360.013
Tritanopia (no blue cones)#0020250.051
Achromatopsia (no color)#1B1B1B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1937

    #0F1937

    oklch(22.3% 0.06 267.5)

  • #241A00

    #241A00

    oklch(22.4% 0.046 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1937

    #0F1937

    oklch(22.3% 0.06 267.5)

  • #001E2F

    #001E2F

    oklch(22.3% 0.049 237.3)

  • #1F1433

    #1F1433

    oklch(22.3% 0.059 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #0F1937

    #0F1937

    oklch(22.3% 0.06 267.5)

  • #2D1400

    #2D1400

    oklch(22.4% 0.053 58.8)

  • #1A1E00

    #1A1E00

    oklch(22.3% 0.051 116.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1937

    #0F1937

    oklch(22.3% 0.06 267.5)

  • #320E0B

    #320E0B

    oklch(22.4% 0.059 27.6)

  • #032209

    #032209

    oklch(22.2% 0.059 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1937

    #0F1937

    oklch(22.3% 0.06 267.5)

  • #300D1B

    #300D1B

    oklch(22.3% 0.06 358.2)

  • #241A00

    #241A00

    oklch(22.4% 0.046 89.1)

  • #00211B

    #00211B

    oklch(22.2% 0.041 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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