#5F7FFC

Closest named color: Cornflower (#6A79F7). oklch(63.7% 0.189 269.6), rgb(95, 127, 252).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.189)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.92:1
White text3.54:1

Values

HEX#5F7FFC
RGBrgb(95, 127, 252)
HSLhsl(228, 96%, 68%)
OKLCHoklch(63.7% 0.189 269.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 #5F7FFC 3.54:1 AA large text Lc -68.2 Content text, not long reading
Black text on #5F7FFC 5.92:1 AA Lc 41.4 Non-text elements, placeholder text
#5F7FFC text on white 3.54:1 AA large text Lc 62.7 Content text, not long reading
#5F7FFC text on black 5.92:1 AA Lc -39.0 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

    #CBD8FC

    oklch(88.4% 0.052 269.6)

  4. Step 300

    300

    #A9BEFD

    oklch(80.8% 0.092 270)

  5. Step 400

    400

    #7C9AFC

    oklch(70.7% 0.147 269.5)

  6. Step 500

    500 (this color)

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  7. Step 600

    600

    #4662E9

    oklch(55.5% 0.206 269.5)

  8. Step 700

    700

    #3950CB

    oklch(49.1% 0.192 269.7)

  9. Step 800

    800

    #2F43A4

    oklch(42.8% 0.158 269.6)

  10. Step 900

    900

    #293A82

    oklch(37.8% 0.123 269.6)

  11. Step 950

    950

    #18224C

    oklch(26.9% 0.079 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F7FFC 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)#398FFF0.046
Deuteranopia (no green cones)#0981F90.055
Tritanopia (no blue cones)#009CB20.159
Achromatopsia (no color)#8888880.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7FFC

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  • #AA8600

    #AA8600

    oklch(63.6% 0.13 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7FFC

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  • #0095D9

    #0095D9

    oklch(63.8% 0.145 239.4)

  • #9E6AEB

    #9E6AEB

    oklch(63.7% 0.189 299.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F7FFC

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  • #CB7100

    #CB7100

    oklch(63.7% 0.149 59.9)

  • #819700

    #819700

    oklch(63.6% 0.15 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7FFC

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  • #E75140

    #E75140

    oklch(63.7% 0.189 29.7)

  • #00A74A

    #00A74A

    oklch(63.6% 0.177 149.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7FFC

    #5F7FFC

    oklch(63.7% 0.189 269.6)

  • #E04D87

    #E04D87

    oklch(63.7% 0.189 359.7)

  • #AA8600

    #AA8600

    oklch(63.6% 0.13 89.6)

  • #00A28D

    #00A28D

    oklch(63.8% 0.116 179.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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