#5F7FE5

Closest named color: Soft Blue (#6488EA). oklch(62.2% 0.158 268.4), rgb(95, 127, 229).

Aa

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

About this color

#5F7FE5 is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.158 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.025 away. Black text reads best on it, at 5.65:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromavivid (0.158)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.65:1
White text3.71:1

Values

HEX#5F7FE5
RGBrgb(95, 127, 229)
HSLhsl(226, 72%, 64%)
OKLCHoklch(62.2% 0.158 268.4)

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 #5F7FE5 3.71:1 AA large text Lc -70.0 Content text, not long reading
Black text on #5F7FE5 5.65:1 AA Lc 39.6 Non-text elements, placeholder text
#5F7FE5 text on white 3.71:1 AA large text Lc 64.5 Content text, not long reading
#5F7FE5 text on black 5.65:1 AA Lc -37.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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ACBFF3

    oklch(80.8% 0.077 269)

  5. Step 400

    400

    #809DEE

    oklch(70.8% 0.123 268.2)

  6. Step 500

    500 (this color)

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  7. Step 600

    600

    #4A69D6

    oklch(55.6% 0.171 268.4)

  8. Step 700

    700

    #3B57BA

    oklch(49.2% 0.159 268.1)

  9. Step 800

    800

    #314796

    oklch(42.6% 0.132 268.5)

  10. Step 900

    900

    #2B3D78

    oklch(37.8% 0.103 268.4)

  11. Step 950

    950

    #192446

    oklch(27% 0.065 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F7FE5 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)#508BE90.032
Deuteranopia (no green cones)#3D7FE30.033
Tritanopia (no blue cones)#0096A70.139
Achromatopsia (no color)#8585850.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7FE5

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  • #A68100

    #A68100

    oklch(62.1% 0.127 88.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7FE5

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  • #0090D0

    #0090D0

    oklch(62.1% 0.139 238.6)

  • #946ED8

    #946ED8

    oklch(62.3% 0.157 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F7FE5

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  • #C66C00

    #C66C00

    oklch(62.1% 0.148 58.7)

  • #7F9200

    #7F9200

    oklch(62.3% 0.146 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7FE5

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  • #D55A4D

    #D55A4D

    oklch(62.2% 0.158 28.5)

  • #2CA04C

    #2CA04C

    oklch(62.3% 0.159 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7FE5

    #5F7FE5

    oklch(62.2% 0.158 268.4)

  • #CE5785

    #CE5785

    oklch(62.1% 0.157 358.5)

  • #A68100

    #A68100

    oklch(62.1% 0.127 88.3)

  • #009D87

    #009D87

    oklch(62.3% 0.115 178.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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