#0F1828

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.035 261.4), rgb(15, 24, 40).

Aa

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

About this color

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

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

Values

HEX#0F1828
RGBrgb(15, 24, 40)
HSLhsl(218, 45%, 11%)
OKLCHoklch(20.9% 0.035 261.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 #0F1828 17.77:1 AAA Lc -106.7 Preferred for body text
Black text on #0F1828 1.18:1 Fails Lc 0.0 Not readable
#0F1828 text on white 17.77:1 AAA Lc 104.5 Preferred for body text
#0F1828 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D1DAE9

    oklch(88.6% 0.023 260.7)

  4. Step 300

    300

    #B2C1DC

    oklch(80.8% 0.042 262.3)

  5. Step 400

    400

    #8AA1CA

    oklch(70.6% 0.066 261.9)

  6. Step 500

    500

    #6D8ABD

    oklch(63.2% 0.084 261.4)

  7. Step 600

    600

    #5573A9

    oklch(55.6% 0.092 261.6)

  8. Step 700

    700

    #456091

    oklch(49% 0.086 261.7)

  9. Step 800

    800

    #394F76

    oklch(42.8% 0.071 261.4)

  10. Step 900

    900

    #31425F

    oklch(37.8% 0.055 260.8)

  11. Step 950

    950 (this color)

    #0F1828

    oklch(20.9% 0.035 261.4)

Export this scale for Tailwind in the Tailwind colors tool

#0F1828 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)#1219290.007
Deuteranopia (no green cones)#0F17280.004
Tritanopia (no blue cones)#051B1E0.030
Achromatopsia (no color)#1818180.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #201604

    #201604

    oklch(20.8% 0.035 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #051B25

    #051B25

    oklch(21% 0.034 230.4)

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #251309

    #251309

    oklch(20.9% 0.035 49.2)

  • #191A06

    #191A06

    oklch(21.1% 0.035 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #261111

    #261111

    oklch(20.9% 0.035 20.5)

  • #0F1C0D

    #0F1C0D

    oklch(20.9% 0.034 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #24111A

    #24111A

    oklch(20.9% 0.035 350.7)

  • #201604

    #201604

    oklch(20.8% 0.035 81.3)

  • #041D16

    #041D16

    oklch(20.8% 0.035 171.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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