#0F2259

Closest named color: Marine (#042E60). oklch(27.5% 0.102 265.5), rgb(15, 34, 89).

Aa

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

About this color

#0F2259 is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.102 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.036 away. White text reads best on it, at 15.07:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.39:1
White text15.07:1

Values

HEX#0F2259
RGBrgb(15, 34, 89)
HSLhsl(225, 71%, 20%)
OKLCHoklch(27.5% 0.102 265.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 #0F2259 15.07:1 AAA Lc -104.4 Preferred for body text
Black text on #0F2259 1.39:1 Fails Lc 0.0 Not readable
#0F2259 text on white 15.07:1 AAA Lc 101.6 Preferred for body text
#0F2259 text on black 1.39: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #2D5EFF

    oklch(55.6% 0.244 265.5)

  8. Step 700

    700

    #1C45EB

    oklch(49.1% 0.25 265.5)

  9. Step 800

    800

    #183BBE

    oklch(42.8% 0.207 265.5)

  10. Step 900

    900

    #173595

    oklch(37.6% 0.161 265.5)

  11. Step 950

    950 (this color)

    #0F2259

    oklch(27.5% 0.102 265.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F2259 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)#002A5B0.024
Deuteranopia (no green cones)#0023580.013
Tritanopia (no blue cones)#0030390.082
Achromatopsia (no color)#2626260.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F2259

    #0F2259

    oklch(27.5% 0.102 265.5)

  • #342500

    #342500

    oklch(27.5% 0.056 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F2259

    #0F2259

    oklch(27.5% 0.102 265.5)

  • #002C40

    #002C40

    oklch(27.6% 0.058 234.3)

  • #2D1853

    #2D1853

    oklch(27.5% 0.102 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #0F2259

    #0F2259

    oklch(27.5% 0.102 265.5)

  • #401D00

    #401D00

    oklch(27.5% 0.068 55.7)

  • #272B00

    #272B00

    oklch(27.6% 0.062 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F2259

    #0F2259

    oklch(27.5% 0.102 265.5)

  • #4F070A

    #4F070A

    oklch(27.6% 0.102 25.5)

  • #003208

    #003208

    oklch(27.6% 0.086 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F2259

    #0F2259

    oklch(27.5% 0.102 265.5)

  • #4B072A

    #4B072A

    oklch(27.6% 0.103 355.5)

  • #342500

    #342500

    oklch(27.5% 0.056 85.5)

  • #003027

    #003027

    oklch(27.6% 0.052 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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