#7894FD

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.3% 0.157 270.6), rgb(120, 148, 253).

Aa

Black text reads best on this color (7.45:1).

About this color

#7894FD is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.157 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.034 away. Black text reads best on it, at 7.45:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.157)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.45:1
White text2.81:1

Values

HEX#7894FD
RGBrgb(120, 148, 253)
HSLhsl(227, 97%, 73%)
OKLCHoklch(69.3% 0.157 270.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 #7894FD 2.81:1 Fails Lc -59.2 Large or bold text, headings
Black text on #7894FD 7.45:1 AAA Lc 50.1 Large or bold text, headings
#7894FD text on white 2.81:1 Fails Lc 54.0 Large or bold text, headings
#7894FD text on black 7.45:1 AAA Lc -47.9 Large or bold text, headings

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

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FE

    oklch(93.5% 0.029 271.1)

  3. Step 200

    200

    #CBD8FE

    oklch(88.5% 0.054 270.4)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400 (this color)

    #7894FD

    oklch(69.3% 0.157 270.6)

  6. Step 500

    500

    #5F7BFF

    oklch(63.1% 0.198 270.7)

  7. Step 600

    600

    #485FF0

    oklch(55.6% 0.218 270.6)

  8. Step 700

    700

    #3A4DD1

    oklch(49.1% 0.203 270.5)

  9. Step 800

    800

    #3040A9

    oklch(42.7% 0.168 270.8)

  10. Step 900

    900

    #293886

    oklch(37.7% 0.131 270.6)

  11. Step 950

    950

    #18224E

    oklch(27.1% 0.082 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#7894FD 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)#68A0FF0.033
Deuteranopia (no green cones)#5994FB0.034
Tritanopia (no blue cones)#36ABBC0.141
Achromatopsia (no color)#9A9A9A0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #7894FD

    #7894FD

    oklch(69.3% 0.157 270.6)

  • #BD9700

    #BD9700

    oklch(69.2% 0.141 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7894FD

    #7894FD

    oklch(69.3% 0.157 270.6)

  • #10A6F3

    #10A6F3

    oklch(69.2% 0.157 240.5)

  • #AD82EE

    #AD82EE

    oklch(69.3% 0.158 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #7894FD

    #7894FD

    oklch(69.3% 0.157 270.6)

  • #E18112

    #E18112

    oklch(69.3% 0.158 60.5)

  • #8FAA1D

    #8FAA1D

    oklch(69.3% 0.158 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7894FD

    #7894FD

    oklch(69.3% 0.157 270.6)

  • #ED715E

    #ED715E

    oklch(69.2% 0.157 30.5)

  • #40B766

    #40B766

    oklch(69.3% 0.158 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7894FD

    #7894FD

    oklch(69.3% 0.157 270.6)

  • #E86D97

    #E86D97

    oklch(69.2% 0.158 0.5)

  • #BD9700

    #BD9700

    oklch(69.2% 0.141 90.7)

  • #00B5A0

    #00B5A0

    oklch(69.3% 0.125 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7894FD 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.