#5F7EF6

Closest named color: Cornflower (#6A79F7). oklch(63.1% 0.182 269.7), rgb(95, 126, 246).

Aa

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

About this color

#5F7EF6 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.182 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.017 away. Black text reads best on it, at 5.80:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.182)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.80:1
White text3.61:1

Values

HEX#5F7EF6
RGBrgb(95, 126, 246)
HSLhsl(228, 89%, 67%)
OKLCHoklch(63.1% 0.182 269.7)

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 #5F7EF6 3.61:1 AA large text Lc -69.0 Content text, not long reading
Black text on #5F7EF6 5.80:1 AA Lc 40.6 Non-text elements, placeholder text
#5F7EF6 text on white 3.61:1 AA large text Lc 63.5 Content text, not long reading
#5F7EF6 text on black 5.80:1 AA Lc -38.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABEFB

    oklch(80.8% 0.089 270.3)

  5. Step 400

    400

    #7E9BF9

    oklch(70.8% 0.142 269.6)

  6. Step 500

    500 (this color)

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  7. Step 600

    600

    #4864E5

    oklch(55.7% 0.198 269.6)

  8. Step 700

    700

    #3A52C7

    oklch(49.2% 0.184 269.5)

  9. Step 800

    800

    #3044A1

    oklch(42.8% 0.152 269.6)

  10. Step 900

    900

    #293A80

    oklch(37.6% 0.12 269.6)

  11. Step 950

    950

    #18234B

    oklch(27.1% 0.075 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F7EF6 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)#3E8EFA0.045
Deuteranopia (no green cones)#1C80F40.051
Tritanopia (no blue cones)#009AAE0.156
Achromatopsia (no color)#8686860.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7EF6

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  • #A88400

    #A88400

    oklch(63% 0.129 89.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7EF6

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  • #0093D6

    #0093D6

    oklch(63.1% 0.143 239.3)

  • #9B6AE6

    #9B6AE6

    oklch(63.1% 0.182 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F7EF6

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  • #C96F00

    #C96F00

    oklch(63.1% 0.149 59.4)

  • #7F9500

    #7F9500

    oklch(63% 0.149 119.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7EF6

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  • #E25242

    #E25242

    oklch(63% 0.182 29.4)

  • #00A54A

    #00A54A

    oklch(63.1% 0.175 149.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7EF6

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  • #DB4F86

    #DB4F86

    oklch(63.1% 0.181 359.4)

  • #A88400

    #A88400

    oklch(63% 0.129 89.3)

  • #00A08C

    #00A08C

    oklch(63.2% 0.115 179.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5F7EF6.

Similar named colors

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

Use #5F7EF6 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.