#0F1A42

Closest named color: Navy Blue (#001146). oklch(23.5% 0.077 268.3), rgb(15, 26, 66).

Aa

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

About this color

#0F1A42 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.077 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.036 away. White text reads best on it, at 16.84:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.24:1
White text16.84:1

Values

HEX#0F1A42
RGBrgb(15, 26, 66)
HSLhsl(227, 63%, 16%)
OKLCHoklch(23.5% 0.077 268.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 #0F1A42 16.84:1 AAA Lc -106.0 Preferred for body text
Black text on #0F1A42 1.24:1 Fails Lc 0.0 Not readable
#0F1A42 text on white 16.84:1 AAA Lc 103.6 Preferred for body text
#0F1A42 text on black 1.24: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CBD9FC

    oklch(88.6% 0.051 268.1)

  4. Step 300

    300

    #A7BFFD

    oklch(80.9% 0.092 268)

  5. Step 400

    400

    #7A9BFC

    oklch(70.7% 0.147 268.3)

  6. Step 500

    500

    #5A7EF9

    oklch(63% 0.188 268.3)

  7. Step 600

    600

    #4364E8

    oklch(55.7% 0.203 268.3)

  8. Step 700

    700

    #3552CA

    oklch(49.2% 0.189 268.2)

  9. Step 800

    800

    #2C44A3

    oklch(42.8% 0.156 268.2)

  10. Step 900

    900

    #273A81

    oklch(37.6% 0.122 268.6)

  11. Step 950

    950 (this color)

    #0F1A42

    oklch(23.5% 0.077 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#0F1A42 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)#0120430.021
Deuteranopia (no green cones)#001B410.017
Tritanopia (no blue cones)#00242B0.063
Achromatopsia (no color)#1D1D1D0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1A42

    #0F1A42

    oklch(23.5% 0.077 268.3)

  • #271C00

    #271C00

    oklch(23.3% 0.048 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1A42

    #0F1A42

    oklch(23.5% 0.077 268.3)

  • #002134

    #002134

    oklch(23.5% 0.053 238.5)

  • #23133D

    #23133D

    oklch(23.5% 0.077 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #0F1A42

    #0F1A42

    oklch(23.5% 0.077 268.3)

  • #311600

    #311600

    oklch(23.5% 0.056 58.2)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1A42

    #0F1A42

    oklch(23.5% 0.077 268.3)

  • #3B0A07

    #3B0A07

    oklch(23.6% 0.077 28.4)

  • #00260A

    #00260A

    oklch(23.4% 0.067 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1A42

    #0F1A42

    oklch(23.5% 0.077 268.3)

  • #38091E

    #38091E

    oklch(23.4% 0.077 357.6)

  • #271C00

    #271C00

    oklch(23.3% 0.048 88.1)

  • #00251E

    #00251E

    oklch(23.6% 0.044 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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