#5F74FC

Closest named color: Cornflower (#6A79F7). oklch(61.6% 0.202 272.4), rgb(95, 116, 252).

Aa

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

About this color

#5F74FC is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.202 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.021 away. Black text reads best on it, at 5.39:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.202)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.39:1
White text3.89:1

Values

HEX#5F74FC
RGBrgb(95, 116, 252)
HSLhsl(232, 96%, 68%)
OKLCHoklch(61.6% 0.202 272.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 #5F74FC 3.89:1 AA large text Lc -71.5 Content text, not long reading
Black text on #5F74FC 5.39:1 AA Lc 38.1 Non-text elements, placeholder text
#5F74FC text on white 3.89:1 AA large text Lc 66.0 Content text, not long reading
#5F74FC text on black 5.39:1 AA Lc -35.7 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FE

    oklch(93.6% 0.029 273.1)

  3. Step 200

    200

    #CCD8FE

    oklch(88.5% 0.054 271.5)

  4. Step 300

    300

    #ABBDFF

    oklch(80.9% 0.096 272.3)

  5. Step 400

    400

    #8198FF

    oklch(70.7% 0.153 272.5)

  6. Step 500

    500 (this color)

    #5F74FC

    oklch(61.6% 0.202 272.4)

  7. Step 600

    600

    #4D5DF1

    oklch(55.6% 0.22 272.3)

  8. Step 700

    700

    #3F4BD2

    oklch(49.1% 0.205 272.3)

  9. Step 800

    800

    #343FA9

    oklch(42.8% 0.168 272.5)

  10. Step 900

    900

    #2C3786

    oklch(37.7% 0.132 272.4)

  11. Step 950

    950

    #19214E

    oklch(26.9% 0.083 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F74FC 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)#0688FF0.066
Deuteranopia (no green cones)#007AF90.060
Tritanopia (no blue cones)#0094AD0.170
Achromatopsia (no color)#8181810.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F74FC

    #5F74FC

    oklch(61.6% 0.202 272.4)

  • #A08200

    #A08200

    oklch(61.7% 0.126 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F74FC

    #5F74FC

    oklch(61.6% 0.202 272.4)

  • #008DD5

    #008DD5

    oklch(61.7% 0.147 242.2)

  • #9E5DE7

    #9E5DE7

    oklch(61.6% 0.202 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F74FC

    #5F74FC

    oklch(61.6% 0.202 272.4)

  • #BF6E00

    #BF6E00

    oklch(61.5% 0.141 62.4)

  • #769200

    #769200

    oklch(61.6% 0.15 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F74FC

    #5F74FC

    oklch(61.6% 0.202 272.4)

  • #E54427

    #E54427

    oklch(61.7% 0.202 32.5)

  • #009F52

    #009F52

    oklch(61.6% 0.16 152.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F74FC

    #5F74FC

    oklch(61.6% 0.202 272.4)

  • #DF3D7A

    #DF3D7A

    oklch(61.5% 0.202 2.5)

  • #A08200

    #A08200

    oklch(61.7% 0.126 92.5)

  • #009A8A

    #009A8A

    oklch(61.6% 0.11 182.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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