#254FD7

Closest named color: Blue Blue (#2242C7). oklch(49.1% 0.213 265.5), rgb(37, 79, 215).

Aa

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

About this color

#254FD7 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.213 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.040 away. White text reads best on it, at 6.60:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.213)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.17:1
White text6.60:1

Values

HEX#254FD7
RGBrgb(37, 79, 215)
HSLhsl(226, 71%, 49%)
OKLCHoklch(49.1% 0.213 265.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 #254FD7 6.60:1 AA Lc -87.0 Fine for body text
Black text on #254FD7 3.17:1 AA large text Lc 22.2 Dividers and decoration only
#254FD7 text on white 6.60:1 AA Lc 81.9 Fine for body text
#254FD7 text on black 3.17:1 AA large text Lc -20.0 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

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #729CFF

    oklch(70.6% 0.153 265.4)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #3161F7

    oklch(55.6% 0.23 265.5)

  8. Step 700

    700 (this color)

    #254FD7

    oklch(49.1% 0.213 265.5)

  9. Step 800

    800

    #1F42AE

    oklch(42.8% 0.177 265.4)

  10. Step 900

    900

    #1D3989

    oklch(37.6% 0.138 265.5)

  11. Step 950

    950

    #112350

    oklch(27.1% 0.086 264.8)

Export this scale for Tailwind in the Tailwind colors tool

#254FD7 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)#0065DB0.051
Deuteranopia (no green cones)#0055D40.019
Tritanopia (no blue cones)#00738C0.164
Achromatopsia (no color)#5D5D5D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #254FD7

    #254FD7

    oklch(49.1% 0.213 265.5)

  • #7A5B00

    #7A5B00

    oklch(49% 0.1 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254FD7

    #254FD7

    oklch(49.1% 0.213 265.5)

  • #006994

    #006994

    oklch(49.2% 0.105 235.5)

  • #6F35C9

    #6F35C9

    oklch(49.1% 0.213 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #254FD7

    #254FD7

    oklch(49.1% 0.213 265.5)

  • #934A00

    #934A00

    oklch(49.1% 0.121 55.1)

  • #5F6800

    #5F6800

    oklch(49.3% 0.112 115.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254FD7

    #254FD7

    oklch(49.1% 0.213 265.5)

  • #B7001A

    #B7001A

    oklch(49.1% 0.199 25.4)

  • #007620

    #007620

    oklch(49.2% 0.152 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254FD7

    #254FD7

    oklch(49.1% 0.213 265.5)

  • #AF0066

    #AF0066

    oklch(49.2% 0.202 355.3)

  • #7A5B00

    #7A5B00

    oklch(49% 0.1 85.4)

  • #00715E

    #00715E

    oklch(49% 0.092 175.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #254FD7.

Similar named colors

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

Use #254FD7 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.