#5F7FCA

Closest named color: Cool Blue (#4984B8). oklch(60.6% 0.12 265.5), rgb(95, 127, 202).

Aa

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

About this color

#5F7FCA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.120 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.041 away. Black text reads best on it, at 5.37:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.37:1
White text3.90:1

Values

HEX#5F7FCA
RGBrgb(95, 127, 202)
HSLhsl(222, 50%, 58%)
OKLCHoklch(60.6% 0.12 265.5)

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 #5F7FCA 3.90:1 AA large text Lc -71.9 Content text, not long reading
Black text on #5F7FCA 5.37:1 AA Lc 37.7 Non-text elements, placeholder text
#5F7FCA text on white 3.90:1 AA large text Lc 66.4 Content text, not long reading
#5F7FCA text on black 5.37:1 AA Lc -35.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AEC1E8

    oklch(81% 0.059 264.6)

  5. Step 400

    400

    #849FDC

    oklch(70.6% 0.095 265.7)

  6. Step 500

    500 (this color)

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  7. Step 600

    600

    #4E6FBF

    oklch(55.6% 0.13 265.5)

  8. Step 700

    700

    #3F5DA5

    oklch(49.2% 0.121 265.2)

  9. Step 800

    800

    #344C86

    oklch(42.7% 0.101 265.4)

  10. Step 900

    900

    #2D406B

    oklch(37.7% 0.078 264.9)

  11. Step 950

    950

    #1B263F

    oklch(27.2% 0.049 265.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F7FCA 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)#6186CD0.019
Deuteranopia (no green cones)#557CC80.015
Tritanopia (no blue cones)#298F9B0.107
Achromatopsia (no color)#8181810.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7FCA

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  • #A27B0F

    #A27B0F

    oklch(60.5% 0.12 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7FCA

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  • #1F8CC0

    #1F8CC0

    oklch(60.6% 0.121 235.7)

  • #8872C2

    #8872C2

    oklch(60.6% 0.12 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F7FCA

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  • #B86C32

    #B86C32

    oklch(60.5% 0.121 55.1)

  • #7F8A28

    #7F8A28

    oklch(60.5% 0.12 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7FCA

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  • #BF635C

    #BF635C

    oklch(60.6% 0.119 25.7)

  • #4E9553

    #4E9553

    oklch(60.7% 0.121 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7FCA

    #5F7FCA

    oklch(60.6% 0.12 265.5)

  • #B96185

    #B96185

    oklch(60.6% 0.12 355.4)

  • #A27B0F

    #A27B0F

    oklch(60.5% 0.12 85.4)

  • #00987F

    #00987F

    oklch(60.7% 0.114 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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