#5F6FEA

Closest named color: Cornflower (#6A79F7). oklch(59.4% 0.185 273.8), rgb(95, 111, 234).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.185)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text4.94:1
White text4.24:1

Values

HEX#5F6FEA
RGBrgb(95, 111, 234)
HSLhsl(233, 77%, 65%)
OKLCHoklch(59.4% 0.185 273.8)

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 #5F6FEA 4.24:1 AA large text Lc -74.5 Content text, not long reading
Black text on #5F6FEA 4.94:1 AA Lc 35.1 Non-text elements, placeholder text
#5F6FEA text on white 4.24:1 AA large text Lc 69.0 Content text, not long reading
#5F6FEA text on black 4.94:1 AA Lc -32.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #AEBDFB

    oklch(80.9% 0.089 273.7)

  5. Step 400

    400

    #8598FA

    oklch(70.7% 0.145 273.8)

  6. Step 500

    500 (this color)

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  7. Step 600

    600

    #5360E6

    oklch(55.6% 0.201 273.7)

  8. Step 700

    700

    #444EC8

    oklch(49.1% 0.187 273.7)

  9. Step 800

    800

    #3841A1

    oklch(42.7% 0.154 273.9)

  10. Step 900

    900

    #2F3880

    oklch(37.6% 0.121 273.7)

  11. Step 950

    950

    #1B224B

    oklch(27% 0.076 273)

Export this scale for Tailwind in the Tailwind colors tool

#5F6FEA 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)#2281EE0.061
Deuteranopia (no green cones)#0075E70.063
Tritanopia (no blue cones)#008CA20.160
Achromatopsia (no color)#7B7B7B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F6FEA

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  • #977C00

    #977C00

    oklch(59.4% 0.122 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F6FEA

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  • #0085CE

    #0085CE

    oklch(59.4% 0.146 243.9)

  • #975BD6

    #975BD6

    oklch(59.5% 0.184 303.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F6FEA

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  • #B56A00

    #B56A00

    oklch(59.5% 0.135 63.8)

  • #6D8C00

    #6D8C00

    oklch(59.4% 0.147 123.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F6FEA

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  • #D54727

    #D54727

    oklch(59.4% 0.184 34)

  • #009752

    #009752

    oklch(59.3% 0.15 153.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F6FEA

    #5F6FEA

    oklch(59.4% 0.185 273.8)

  • #D14072

    #D14072

    oklch(59.3% 0.184 3.7)

  • #977C00

    #977C00

    oklch(59.4% 0.122 93.6)

  • #009285

    #009285

    oklch(59.3% 0.105 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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