#0F4181

Closest named color: Twilight Blue (#0A437A). oklch(38.2% 0.12 257), rgb(15, 65, 129).

Aa

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

About this color

#0F4181 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.120 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.014 away. White text reads best on it, at 10.03:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.09:1
White text10.03:1

Values

HEX#0F4181
RGBrgb(15, 65, 129)
HSLhsl(214, 79%, 28%)
OKLCHoklch(38.2% 0.12 257)

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 #0F4181 10.03:1 AAA Lc -97.0 Preferred for body text
Black text on #0F4181 2.09:1 Fails Lc 11.1 Not readable
#0F4181 text on white 10.03:1 AAA Lc 92.8 Preferred for body text
#0F4181 text on black 2.09:1 Fails Lc -9.7 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #63A2F9

    oklch(70.8% 0.144 256.8)

  6. Step 500

    500

    #3487F5

    oklch(63.1% 0.183 257)

  7. Step 600

    600

    #006EE3

    oklch(55.7% 0.197 256.9)

  8. Step 700

    700

    #005CC0

    oklch(49.1% 0.174 256.9)

  9. Step 800

    800

    #004B9F

    oklch(42.7% 0.151 256.9)

  10. Step 900

    900 (this color)

    #0F4181

    oklch(38.2% 0.12 257)

  11. Step 950

    950

    #0A264B

    oklch(27.1% 0.076 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#0F4181 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)#1C47830.021
Deuteranopia (no green cones)#003D800.015
Tritanopia (no blue cones)#00505A0.090
Achromatopsia (no color)#4242420.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F4181

    #0F4181

    oklch(38.2% 0.12 257)

  • #5B3C00

    #5B3C00

    oklch(38.2% 0.08 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F4181

    #0F4181

    oklch(38.2% 0.12 257)

  • #004A61

    #004A61

    oklch(38.2% 0.074 227)

  • #41357E

    #41357E

    oklch(38.3% 0.119 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #0F4181

    #0F4181

    oklch(38.2% 0.12 257)

  • #6E2C00

    #6E2C00

    oklch(38.1% 0.106 46.7)

  • #484500

    #484500

    oklch(38.1% 0.082 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F4181

    #0F4181

    oklch(38.2% 0.12 257)

  • #761F2B

    #761F2B

    oklch(38.4% 0.12 17.2)

  • #205000

    #205000

    oklch(38.2% 0.116 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F4181

    #0F4181

    oklch(38.2% 0.12 257)

  • #6D214F

    #6D214F

    oklch(38.2% 0.12 346.9)

  • #5B3C00

    #5B3C00

    oklch(38.2% 0.08 76.2)

  • #00503A

    #00503A

    oklch(38.3% 0.079 166.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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