#5791F7

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.6% 0.164 260.9), rgb(87, 145, 247).

Aa

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

About this color

#5791F7 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.164 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.021 away. Black text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.164)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.79:1
White text3.08:1

Values

HEX#5791F7
RGBrgb(87, 145, 247)
HSLhsl(218, 91%, 65%)
OKLCHoklch(66.6% 0.164 260.9)

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 #5791F7 3.08:1 AA large text Lc -62.9 Content text, not long reading
Black text on #5791F7 6.79:1 AA Lc 46.5 Large or bold text, headings
#5791F7 text on white 3.08:1 AA large text Lc 57.5 Large or bold text, headings
#5791F7 text on black 6.79:1 AA Lc -44.2 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A3C2F5

    oklch(80.9% 0.08 260.3)

  5. Step 400

    400

    #72A0F0

    oklch(70.7% 0.128 260.9)

  6. Step 500

    500 (this color)

    #5791F7

    oklch(66.6% 0.164 260.9)

  7. Step 600

    600

    #306DD9

    oklch(55.5% 0.178 260.8)

  8. Step 700

    700

    #235ABD

    oklch(49% 0.167 261.1)

  9. Step 800

    800

    #1E4A99

    oklch(42.6% 0.138 261)

  10. Step 900

    900

    #1E3F79

    oklch(37.7% 0.106 260.8)

  11. Step 950

    950

    #122547

    oklch(26.9% 0.068 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#5791F7 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)#629BFB0.030
Deuteranopia (no green cones)#498CF50.020
Tritanopia (no blue cones)#00A8B80.134
Achromatopsia (no color)#9393930.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #5791F7

    #5791F7

    oklch(66.6% 0.164 260.9)

  • #BF8900

    #BF8900

    oklch(66.6% 0.138 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5791F7

    #5791F7

    oklch(66.6% 0.164 260.9)

  • #00A1D6

    #00A1D6

    oklch(66.5% 0.134 230.8)

  • #967EEF

    #967EEF

    oklch(66.5% 0.163 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #5791F7

    #5791F7

    oklch(66.6% 0.164 260.9)

  • #E0701D

    #E0701D

    oklch(66.5% 0.164 50.6)

  • #999B00

    #999B00

    oklch(66.6% 0.146 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5791F7

    #5791F7

    oklch(66.6% 0.164 260.9)

  • #E76367

    #E76367

    oklch(66.5% 0.164 20.9)

  • #54AC45

    #54AC45

    oklch(66.7% 0.164 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5791F7

    #5791F7

    oklch(66.6% 0.164 260.9)

  • #DC64A0

    #DC64A0

    oklch(66.7% 0.163 351.2)

  • #BF8900

    #BF8900

    oklch(66.6% 0.138 80.6)

  • #00AD89

    #00AD89

    oklch(66.5% 0.13 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5791F7 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.