#0F40F5

Closest named color: Vibrant Blue (#0339F8). oklch(49.2% 0.268 264.6), rgb(15, 64, 245).

Aa

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

About this color

#0F40F5 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.268 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Vibrant Blue (#0339F8), ΔE 0.013 away. White text reads best on it, at 6.83:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.268)
Temperaturecool
Nearest nameVibrant Blue (#0339F8)
Black text3.07:1
White text6.83:1

Values

HEX#0F40F5
RGBrgb(15, 64, 245)
HSLhsl(227, 92%, 51%)
OKLCHoklch(49.2% 0.268 264.6)

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 #0F40F5 6.83:1 AA Lc -87.2 Fine for body text
Black text on #0F40F5 3.07:1 AA large text Lc 22.0 Dividers and decoration only
#0F40F5 text on white 6.83:1 AA Lc 82.1 Fine for body text
#0F40F5 text on black 3.07:1 AA large text Lc -19.8 Dividers and decoration only

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 700.

  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

    #C7D9FF

    oklch(88.4% 0.056 265.2)

  4. Step 300

    300

    #A2C0FF

    oklch(80.9% 0.096 264.7)

  5. Step 400

    400

    #719DFF

    oklch(70.8% 0.152 264.6)

  6. Step 500

    500

    #4C80FF

    oklch(63.2% 0.197 264.6)

  7. Step 600

    600

    #275FFF

    oklch(55.7% 0.244 264.5)

  8. Step 700

    700 (this color)

    #0F40F5

    oklch(49.2% 0.268 264.6)

  9. Step 800

    800

    #0D37C5

    oklch(42.6% 0.222 264.5)

  10. Step 900

    900

    #10339B

    oklch(37.6% 0.173 264.5)

  11. Step 950

    950

    #0A205B

    oklch(27.1% 0.11 264.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F40F5 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)#0065FA0.075
Deuteranopia (no green cones)#004FF20.026
Tritanopia (no blue cones)#0076980.201
Achromatopsia (no color)#5B5B5B0.269

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F40F5

    #0F40F5

    oklch(49.2% 0.268 264.6)

  • #7B5B00

    #7B5B00

    oklch(49.1% 0.101 84.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F40F5

    #0F40F5

    oklch(49.2% 0.268 264.6)

  • #006993

    #006993

    oklch(49.2% 0.104 234.9)

  • #7407E4

    #7407E4

    oklch(49.2% 0.268 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #0F40F5

    #0F40F5

    oklch(49.2% 0.268 264.6)

  • #944A00

    #944A00

    oklch(49.2% 0.122 54.7)

  • #606700

    #606700

    oklch(49.1% 0.111 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F40F5

    #0F40F5

    oklch(49.2% 0.268 264.6)

  • #B7001E

    #B7001E

    oklch(49.1% 0.199 24.5)

  • #00761A

    #00761A

    oklch(49.2% 0.156 144.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F40F5

    #0F40F5

    oklch(49.2% 0.268 264.6)

  • #AF0067

    #AF0067

    oklch(49.2% 0.202 354.9)

  • #7B5B00

    #7B5B00

    oklch(49.1% 0.101 84.7)

  • #00725D

    #00725D

    oklch(49.3% 0.094 174)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0F40F5.

Similar named colors

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

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