#5F7CDC

Closest named color: Soft Blue (#6488EA). oklch(61% 0.149 269), rgb(95, 124, 220).

Aa

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

About this color

#5F7CDC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.149 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.036 away. Black text reads best on it, at 5.40:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.149)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.40:1
White text3.88:1

Values

HEX#5F7CDC
RGBrgb(95, 124, 220)
HSLhsl(226, 64%, 62%)
OKLCHoklch(61% 0.149 269)

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 #5F7CDC 3.88:1 AA large text Lc -71.6 Content text, not long reading
Black text on #5F7CDC 5.40:1 AA Lc 38.0 Non-text elements, placeholder text
#5F7CDC text on white 3.88:1 AA large text Lc 66.1 Content text, not long reading
#5F7CDC text on black 5.40:1 AA Lc -35.6 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED9F5

    oklch(88.6% 0.04 268.5)

  4. Step 300

    300

    #ADBFF1

    oklch(80.8% 0.074 269.3)

  5. Step 400

    400

    #839DEA

    oklch(70.8% 0.117 269.1)

  6. Step 500

    500 (this color)

    #5F7CDC

    oklch(61% 0.149 269)

  7. Step 600

    600

    #4D6AD1

    oklch(55.6% 0.162 268.8)

  8. Step 700

    700

    #3F57B5

    oklch(49% 0.151 269.3)

  9. Step 800

    800

    #344892

    oklch(42.7% 0.124 269.2)

  10. Step 900

    900

    #2D3D75

    oklch(37.7% 0.098 269.3)

  11. Step 950

    950

    #1A2444

    oklch(26.9% 0.061 268.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F7CDC 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)#5187E00.030
Deuteranopia (no green cones)#417CDA0.031
Tritanopia (no blue cones)#0191A10.134
Achromatopsia (no color)#8181810.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7CDC

    #5F7CDC

    oklch(61% 0.149 269)

  • #A17E00

    #A17E00

    oklch(61% 0.125 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7CDC

    #5F7CDC

    oklch(61% 0.149 269)

  • #008CCC

    #008CCC

    oklch(60.9% 0.138 239.3)

  • #906CCF

    #906CCF

    oklch(61% 0.148 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F7CDC

    #5F7CDC

    oklch(61% 0.149 269)

  • #C16A00

    #C16A00

    oklch(61.1% 0.144 59.2)

  • #7B8E00

    #7B8E00

    oklch(61% 0.143 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7CDC

    #5F7CDC

    oklch(61% 0.149 269)

  • #CD5A4C

    #CD5A4C

    oklch(61% 0.149 29.1)

  • #2F9B4E

    #2F9B4E

    oklch(61.1% 0.149 149)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7CDC

    #5F7CDC

    oklch(61% 0.149 269)

  • #C75781

    #C75781

    oklch(60.9% 0.149 359)

  • #A17E00

    #A17E00

    oklch(61% 0.125 89.1)

  • #009984

    #009984

    oklch(61.1% 0.112 178.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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