#5F8FFB

Closest named color: Soft Blue (#6488EA). oklch(66.8% 0.169 264.3), rgb(95, 143, 251).

Aa

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

About this color

#5F8FFB is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.169 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.028 away. Black text reads best on it, at 6.80:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.169)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.80:1
White text3.08:1

Values

HEX#5F8FFB
RGBrgb(95, 143, 251)
HSLhsl(222, 95%, 68%)
OKLCHoklch(66.8% 0.169 264.3)

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 #5F8FFB 3.08:1 AA large text Lc -62.9 Content text, not long reading
Black text on #5F8FFB 6.80:1 AA Lc 46.6 Large or bold text, headings
#5F8FFB text on white 3.08:1 AA large text Lc 57.5 Large or bold text, headings
#5F8FFB text on black 6.80:1 AA Lc -44.3 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CAD9F8

    oklch(88.4% 0.046 264.9)

  4. Step 300

    300

    #A6C1F7

    oklch(81% 0.082 264)

  5. Step 400

    400

    #779EF3

    oklch(70.7% 0.132 264.6)

  6. Step 500

    500 (this color)

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  7. Step 600

    600

    #3B6ADD

    oklch(55.6% 0.183 264.4)

  8. Step 700

    700

    #2D58C0

    oklch(49.2% 0.17 264.1)

  9. Step 800

    800

    #26489B

    oklch(42.6% 0.141 264.4)

  10. Step 900

    900

    #233D7B

    oklch(37.6% 0.11 264.6)

  11. Step 950

    950

    #152448

    oklch(26.9% 0.07 265)

Export this scale for Tailwind in the Tailwind colors tool

#5F8FFB 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)#5D9AFF0.028
Deuteranopia (no green cones)#448CF90.027
Tritanopia (no blue cones)#00A8B90.143
Achromatopsia (no color)#9393930.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8FFB

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  • #BC8C00

    #BC8C00

    oklch(66.8% 0.137 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8FFB

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  • #00A1DD

    #00A1DD

    oklch(66.8% 0.14 234.1)

  • #9C7CF0

    #9C7CF0

    oklch(66.8% 0.168 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F8FFB

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  • #E07200

    #E07200

    oklch(66.7% 0.167 54.1)

  • #949E00

    #949E00

    oklch(66.8% 0.15 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8FFB

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  • #EA635F

    #EA635F

    oklch(66.8% 0.169 24.4)

  • #45AE4B

    #45AE4B

    oklch(66.7% 0.169 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8FFB

    #5F8FFB

    oklch(66.8% 0.169 264.3)

  • #E0629B

    #E0629B

    oklch(66.8% 0.168 354.3)

  • #BC8C00

    #BC8C00

    oklch(66.8% 0.137 84.1)

  • #00AD8F

    #00AD8F

    oklch(66.7% 0.126 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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