#5F7DD3

Closest named color: Soft Blue (#6488EA). oklch(60.7% 0.135 267.8), rgb(95, 125, 211).

Aa

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

About this color

#5F7DD3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.135 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.043 away. Black text reads best on it, at 5.36:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.36:1
White text3.91:1

Values

HEX#5F7DD3
RGBrgb(95, 125, 211)
HSLhsl(224, 57%, 60%)
OKLCHoklch(60.7% 0.135 267.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 #5F7DD3 3.91:1 AA large text Lc -71.9 Content text, not long reading
Black text on #5F7DD3 5.36:1 AA Lc 37.7 Non-text elements, placeholder text
#5F7DD3 text on white 3.91:1 AA large text Lc 66.4 Content text, not long reading
#5F7DD3 text on black 5.36:1 AA Lc -35.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #AEC0EC

    oklch(80.9% 0.066 267.5)

  5. Step 400

    400

    #849EE3

    oklch(70.7% 0.106 267.9)

  6. Step 500

    500 (this color)

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  7. Step 600

    600

    #4E6CC9

    oklch(55.6% 0.148 267.9)

  8. Step 700

    700

    #3F5AAE

    oklch(49.1% 0.137 267.7)

  9. Step 800

    800

    #344A8C

    oklch(42.7% 0.112 267.6)

  10. Step 900

    900

    #2D3E70

    oklch(37.6% 0.088 267.9)

  11. Step 950

    950

    #1A2542

    oklch(27% 0.056 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F7DD3 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)#5986D60.024
Deuteranopia (no green cones)#4B7CD10.023
Tritanopia (no blue cones)#1C909E0.121
Achromatopsia (no color)#8181810.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7DD3

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  • #A17D00

    #A17D00

    oklch(60.7% 0.124 88.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7DD3

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  • #008CC8

    #008CC8

    oklch(60.7% 0.134 237.6)

  • #8C6EC8

    #8C6EC8

    oklch(60.6% 0.135 297.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F7DD3

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  • #BD6A1B

    #BD6A1B

    oklch(60.7% 0.136 57.7)

  • #7C8C13

    #7C8C13

    oklch(60.6% 0.135 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7DD3

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  • #C65E53

    #C65E53

    oklch(60.6% 0.135 27.9)

  • #3F9851

    #3F9851

    oklch(60.8% 0.136 147.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7DD3

    #5F7DD3

    oklch(60.7% 0.135 267.8)

  • #C05C82

    #C05C82

    oklch(60.7% 0.134 357.9)

  • #A17D00

    #A17D00

    oklch(60.7% 0.124 88.3)

  • #009882

    #009882

    oklch(60.8% 0.112 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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