#0F4881

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.111 252.9), rgb(15, 72, 129).

Aa

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

About this color

#0F4881 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.111 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.019 away. White text reads best on it, at 9.27:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.27:1

Values

HEX#0F4881
RGBrgb(15, 72, 129)
HSLhsl(210, 79%, 28%)
OKLCHoklch(39.9% 0.111 252.9)

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 #0F4881 9.27:1 AAA Lc -95.3 Preferred for body text
Black text on #0F4881 2.26:1 Fails Lc 13.0 Not readable
#0F4881 text on white 9.27:1 AAA Lc 90.9 Preferred for body text
#0F4881 text on black 2.26:1 Fails Lc -11.4 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 900.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C4DCF8

    oklch(88.6% 0.047 252.4)

  4. Step 300

    300

    #9AC4F6

    oklch(80.8% 0.084 253.2)

  5. Step 400

    400

    #60A4F1

    oklch(70.7% 0.133 252.8)

  6. Step 500

    500

    #2B8BEC

    oklch(63.1% 0.17 252.7)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0060B3

    oklch(49% 0.152 253.2)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900 (this color)

    #0F4881

    oklch(39.9% 0.111 252.9)

  11. Step 950

    950

    #082748

    oklch(27.1% 0.071 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#0F4881 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)#2B4D830.029
Deuteranopia (no green cones)#1543800.014
Tritanopia (no blue cones)#00565E0.083
Achromatopsia (no color)#4747470.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F4881

    #0F4881

    oklch(39.9% 0.111 252.9)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F4881

    #0F4881

    oklch(39.9% 0.111 252.9)

  • #005064

    #005064

    oklch(40% 0.074 222)

  • #413C81

    #413C81

    oklch(39.9% 0.112 283.3)

Open the analogous palette in the generator

Split complementary

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

  • #0F4881

    #0F4881

    oklch(39.9% 0.111 252.9)

  • #762E09

    #762E09

    oklch(39.9% 0.111 43)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F4881

    #0F4881

    oklch(39.9% 0.111 252.9)

  • #772836

    #772836

    oklch(39.9% 0.111 13.1)

  • #2E5302

    #2E5302

    oklch(39.9% 0.111 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F4881

    #0F4881

    oklch(39.9% 0.111 252.9)

  • #6E2A57

    #6E2A57

    oklch(39.9% 0.112 342.9)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #00563A

    #00563A

    oklch(40.1% 0.087 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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