#0F458C

Closest named color: Cobalt (#1E488F). oklch(40% 0.13 257.5), rgb(15, 69, 140).

Aa

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

About this color

#0F458C is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.130 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.015 away. White text reads best on it, at 9.33:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.25:1
White text9.33:1

Values

HEX#0F458C
RGBrgb(15, 69, 140)
HSLhsl(214, 81%, 30%)
OKLCHoklch(40% 0.13 257.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 #0F458C 9.33:1 AAA Lc -95.4 Preferred for body text
Black text on #0F458C 2.25:1 Fails Lc 13.0 Not readable
#0F458C text on white 9.33:1 AAA Lc 91.0 Preferred for body text
#0F458C text on black 2.25:1 Fails Lc -11.3 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

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #99C3FF

    oklch(80.9% 0.097 257.3)

  5. Step 400

    400

    #5FA1FF

    oklch(70.7% 0.154 257.4)

  6. Step 500

    500

    #2A85FF

    oklch(63.1% 0.2 257.6)

  7. Step 600

    600

    #006DE6

    oklch(55.7% 0.202 257.5)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #004AA1

    oklch(42.6% 0.155 257.6)

  10. Step 900

    900 (this color)

    #0F458C

    oklch(40% 0.13 257.5)

  11. Step 950

    950

    #08254E

    oklch(27% 0.083 258)

Export this scale for Tailwind in the Tailwind colors tool

#0F458C 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)#194D8F0.025
Deuteranopia (no green cones)#00428B0.012
Tritanopia (no blue cones)#0056620.097
Achromatopsia (no color)#4747470.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F458C

    #0F458C

    oklch(40% 0.13 257.5)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F458C

    #0F458C

    oklch(40% 0.13 257.5)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

  • #463789

    #463789

    oklch(40% 0.131 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #0F458C

    #0F458C

    oklch(40% 0.13 257.5)

  • #753000

    #753000

    oklch(40% 0.11 47.3)

  • #4D4B00

    #4D4B00

    oklch(40.2% 0.087 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F458C

    #0F458C

    oklch(40% 0.13 257.5)

  • #7F1F2D

    #7F1F2D

    oklch(40.1% 0.13 17.4)

  • #215600

    #215600

    oklch(40.1% 0.123 137.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F458C

    #0F458C

    oklch(40% 0.13 257.5)

  • #762154

    #762154

    oklch(39.9% 0.13 347.7)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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