#5F7FDC

Closest named color: Soft Blue (#6488EA). oklch(61.6% 0.145 267.7), rgb(95, 127, 220).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.145)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.55:1
White text3.77:1

Values

HEX#5F7FDC
RGBrgb(95, 127, 220)
HSLhsl(225, 64%, 62%)
OKLCHoklch(61.6% 0.145 267.7)

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 #5F7FDC 3.77:1 AA large text Lc -70.6 Content text, not long reading
Black text on #5F7FDC 5.55:1 AA Lc 38.9 Non-text elements, placeholder text
#5F7FDC text on white 3.77:1 AA large text Lc 65.1 Content text, not long reading
#5F7FDC text on black 5.55:1 AA Lc -36.5 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

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ADC0F0

    oklch(81% 0.071 267.9)

  5. Step 400

    400

    #829EE8

    oklch(70.8% 0.113 267.7)

  6. Step 500

    500 (this color)

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  7. Step 600

    600

    #4B6BCF

    oklch(55.6% 0.158 267.7)

  8. Step 700

    700

    #3D59B3

    oklch(49.2% 0.146 267.7)

  9. Step 800

    800

    #324991

    oklch(42.7% 0.122 267.7)

  10. Step 900

    900

    #2C3E74

    oklch(37.8% 0.095 267.8)

  11. Step 950

    950

    #1A2544

    oklch(27.2% 0.06 267.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F7FDC 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)#5789E00.026
Deuteranopia (no green cones)#467EDA0.027
Tritanopia (no blue cones)#0094A30.131
Achromatopsia (no color)#8383830.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7FDC

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  • #A57F00

    #A57F00

    oklch(61.6% 0.126 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7FDC

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  • #008FCC

    #008FCC

    oklch(61.6% 0.136 237.5)

  • #906FD0

    #906FD0

    oklch(61.6% 0.145 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F7FDC

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  • #C46A09

    #C46A09

    oklch(61.6% 0.146 57.4)

  • #7F8F00

    #7F8F00

    oklch(61.6% 0.142 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7FDC

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  • #CE5D52

    #CE5D52

    oklch(61.6% 0.146 27.7)

  • #3A9C4F

    #3A9C4F

    oklch(61.7% 0.145 147.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7FDC

    #5F7FDC

    oklch(61.6% 0.145 267.7)

  • #C75B85

    #C75B85

    oklch(61.6% 0.144 357.7)

  • #A57F00

    #A57F00

    oklch(61.6% 0.126 87.5)

  • #009B85

    #009B85

    oklch(61.7% 0.114 177.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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