#0F5181

Closest named color: Light Navy (#155084). oklch(42.2% 0.101 246.4), rgb(15, 81, 129).

Aa

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

About this color

#0F5181 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.101 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.007 away. White text reads best on it, at 8.35:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.51:1
White text8.35:1

Values

HEX#0F5181
RGBrgb(15, 81, 129)
HSLhsl(205, 79%, 28%)
OKLCHoklch(42.2% 0.101 246.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 #0F5181 8.35:1 AAA Lc -93.0 Preferred for body text
Black text on #0F5181 2.51:1 Fails Lc 15.6 Dividers and decoration only
#0F5181 text on white 8.35:1 AAA Lc 88.4 Fine for body text
#0F5181 text on black 2.51:1 Fails Lc -13.8 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 800.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C8DCEE

    oklch(88.5% 0.033 245.3)

  4. Step 300

    300

    #A2C5E5

    oklch(80.9% 0.059 246.2)

  5. Step 400

    400

    #6EA6D8

    oklch(70.6% 0.094 246.5)

  6. Step 500

    500

    #448FCE

    oklch(63.1% 0.121 246.6)

  7. Step 600

    600

    #1E78BB

    oklch(55.6% 0.132 246.5)

  8. Step 700

    700

    #0D65A1

    oklch(49.1% 0.122 246.2)

  9. Step 800

    800 (this color)

    #0F5181

    oklch(42.2% 0.101 246.4)

  10. Step 900

    900

    #184569

    oklch(37.8% 0.079 246.3)

  11. Step 950

    950

    #0F283D

    oklch(26.8% 0.05 246.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F5181 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)#3A53830.039
Deuteranopia (no green cones)#2949800.027
Tritanopia (no blue cones)#005D630.071
Achromatopsia (no color)#4E4E4E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F5181

    #0F5181

    oklch(42.2% 0.101 246.4)

  • #6F4100

    #6F4100

    oklch(42.1% 0.094 66.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F5181

    #0F5181

    oklch(42.2% 0.101 246.4)

  • #005768

    #005768

    oklch(42.1% 0.075 217)

  • #404784

    #404784

    oklch(42.3% 0.101 276.3)

Open the analogous palette in the generator

Split complementary

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

  • #0F5181

    #0F5181

    oklch(42.2% 0.101 246.4)

  • #7B3623

    #7B3623

    oklch(42.2% 0.101 36.3)

  • #5C4D00

    #5C4D00

    oklch(42.3% 0.087 96.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F5181

    #0F5181

    oklch(42.2% 0.101 246.4)

  • #7A3245

    #7A3245

    oklch(42.2% 0.102 6)

  • #3F570C

    #3F570C

    oklch(42.2% 0.101 126.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F5181

    #0F5181

    oklch(42.2% 0.101 246.4)

  • #6F3562

    #6F3562

    oklch(42.1% 0.102 336.4)

  • #6F4100

    #6F4100

    oklch(42.1% 0.094 66.1)

  • #015D36

    #015D36

    oklch(42.1% 0.1 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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