#5F7EAA

Closest named color: Off Blue (#5684AE). oklch(58.7% 0.077 257.2), rgb(95, 126, 170).

Aa

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

About this color

#5F7EAA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.077 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.018 away. Black text reads best on it, at 5.05:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.05:1
White text4.15:1

Values

HEX#5F7EAA
RGBrgb(95, 126, 170)
HSLhsl(215, 31%, 52%)
OKLCHoklch(58.7% 0.077 257.2)

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 #5F7EAA 4.15:1 AA large text Lc -74.1 Content text, not long reading
Black text on #5F7EAA 5.05:1 AA Lc 35.5 Non-text elements, placeholder text
#5F7EAA text on white 4.15:1 AA large text Lc 68.6 Content text, not long reading
#5F7EAA text on black 5.05:1 AA Lc -33.1 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 600.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B3C2D7

    oklch(80.9% 0.034 256.8)

  5. Step 400

    400

    #8BA2C3

    oklch(70.6% 0.055 257.4)

  6. Step 500

    500

    #6E8BB4

    oklch(63% 0.07 257.1)

  7. Step 600

    600 (this color)

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  8. Step 700

    700

    #466289

    oklch(49.1% 0.071 256.8)

  9. Step 800

    800

    #3A506F

    oklch(42.7% 0.059 257)

  10. Step 900

    900

    #32425A

    oklch(37.6% 0.046 258.3)

  11. Step 950

    950

    #1D2735

    oklch(27% 0.03 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F7EAA 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)#6E80AC0.021
Deuteranopia (no green cones)#6579A90.015
Tritanopia (no blue cones)#43888D0.069
Achromatopsia (no color)#7C7C7C0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7EAA

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  • #967746

    #967746

    oklch(58.8% 0.077 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7EAA

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  • #4686A0

    #4686A0

    oklch(58.8% 0.077 226.8)

  • #7975A8

    #7975A8

    oklch(58.6% 0.077 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F7EAA

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  • #A26E54

    #A26E54

    oklch(58.6% 0.077 47.3)

  • #818048

    #818048

    oklch(58.7% 0.077 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7EAA

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  • #A56A6C

    #A56A6C

    oklch(58.8% 0.076 17.4)

  • #67875A

    #67875A

    oklch(58.7% 0.076 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7EAA

    #5F7EAA

    oklch(58.7% 0.077 257.2)

  • #9E6A85

    #9E6A85

    oklch(58.7% 0.076 347.2)

  • #967746

    #967746

    oklch(58.8% 0.077 77.8)

  • #4B8B73

    #4B8B73

    oklch(58.7% 0.076 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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