#0F1F54

Closest named color: Marine (#042E60). oklch(26.4% 0.099 266.6), rgb(15, 31, 84).

Aa

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

About this color

#0F1F54 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.099 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.047 away. White text reads best on it, at 15.62:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.34:1
White text15.62:1

Values

HEX#0F1F54
RGBrgb(15, 31, 84)
HSLhsl(226, 70%, 19%)
OKLCHoklch(26.4% 0.099 266.6)

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 #0F1F54 15.62:1 AAA Lc -104.9 Preferred for body text
Black text on #0F1F54 1.34:1 Fails Lc 0.0 Not readable
#0F1F54 text on white 15.62:1 AAA Lc 102.2 Preferred for body text
#0F1F54 text on black 1.34: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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFF

    oklch(93.7% 0.03 267.2)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A5BFFF

    oklch(80.9% 0.095 267.2)

  5. Step 400

    400

    #759BFF

    oklch(70.6% 0.153 266.8)

  6. Step 500

    500

    #537EFF

    oklch(63.1% 0.197 266.8)

  7. Step 600

    600

    #335DFF

    oklch(55.7% 0.244 266.6)

  8. Step 700

    700

    #2546E6

    oklch(49% 0.241 266.7)

  9. Step 800

    800

    #1E3BBA

    oklch(42.6% 0.201 266.6)

  10. Step 900

    900

    #1C3693

    oklch(37.8% 0.156 266.5)

  11. Step 950

    950 (this color)

    #0F1F54

    oklch(26.4% 0.099 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#0F1F54 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)#0027560.024
Deuteranopia (no green cones)#0020530.014
Tritanopia (no blue cones)#002C360.077
Achromatopsia (no color)#2323230.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1F54

    #0F1F54

    oklch(26.4% 0.099 266.6)

  • #302300

    #302300

    oklch(26.4% 0.054 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1F54

    #0F1F54

    oklch(26.4% 0.099 266.6)

  • #00283D

    #00283D

    oklch(26.3% 0.058 237.5)

  • #2B154E

    #2B154E

    oklch(26.3% 0.099 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #0F1F54

    #0F1F54

    oklch(26.4% 0.099 266.6)

  • #3C1B00

    #3C1B00

    oklch(26.5% 0.065 56)

  • #232800

    #232800

    oklch(26.3% 0.06 116.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1F54

    #0F1F54

    oklch(26.4% 0.099 266.6)

  • #4A0607

    #4A0607

    oklch(26.4% 0.098 26.6)

  • #002E0A

    #002E0A

    oklch(26.2% 0.078 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1F54

    #0F1F54

    oklch(26.4% 0.099 266.6)

  • #460626

    #460626

    oklch(26.3% 0.098 356.4)

  • #302300

    #302300

    oklch(26.4% 0.054 87.8)

  • #002D24

    #002D24

    oklch(26.5% 0.05 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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