#505FB1

Closest named color: French Blue (#436BAD). oklch(51.4% 0.13 273.2), rgb(80, 95, 177).

Aa

White text reads best on this color (5.81:1).

About this color

#505FB1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.130 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.036 away. White text reads best on it, at 5.81:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text3.61:1
White text5.81:1

Values

HEX#505FB1
RGBrgb(80, 95, 177)
HSLhsl(231, 38%, 50%)
OKLCHoklch(51.4% 0.13 273.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 #505FB1 5.81:1 AA Lc -84.1 Fine for body text
Black text on #505FB1 3.61:1 AA large text Lc 25.2 Dividers and decoration only
#505FB1 text on white 5.81:1 AA Lc 78.9 Fine for body text
#505FB1 text on black 3.61:1 AA large text Lc -22.9 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BFEA

    oklch(81% 0.062 272.7)

  5. Step 400

    400

    #8C9CE0

    oklch(70.7% 0.101 273.4)

  6. Step 500

    500

    #7182D7

    oklch(63.1% 0.129 273.6)

  7. Step 600

    600

    #5A6AC4

    oklch(55.6% 0.14 273.4)

  8. Step 700

    700 (this color)

    #505FB1

    oklch(51.4% 0.13 273.2)

  9. Step 800

    800

    #3D4889

    oklch(42.6% 0.108 273.7)

  10. Step 900

    900

    #333D6E

    oklch(37.7% 0.085 273)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#505FB1 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)#3A6AB40.035
Deuteranopia (no green cones)#2E61AF0.037
Tritanopia (no blue cones)#1E717F0.116
Achromatopsia (no color)#6565650.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #505FB1

    #505FB1

    oklch(51.4% 0.13 273.2)

  • #7C6500

    #7C6500

    oklch(51.4% 0.105 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505FB1

    #505FB1

    oklch(51.4% 0.13 273.2)

  • #006DA9

    #006DA9

    oklch(51.4% 0.125 243.4)

  • #7752A4

    #7752A4

    oklch(51.5% 0.13 303)

Open the analogous palette in the generator

Split complementary

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

  • #505FB1

    #505FB1

    oklch(51.4% 0.13 273.2)

  • #955600

    #955600

    oklch(51.5% 0.117 63.6)

  • #5A7200

    #5A7200

    oklch(51.4% 0.126 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505FB1

    #505FB1

    oklch(51.4% 0.13 273.2)

  • #A44632

    #A44632

    oklch(51.4% 0.129 33.6)

  • #067C41

    #067C41

    oklch(51.5% 0.131 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505FB1

    #505FB1

    oklch(51.4% 0.13 273.2)

  • #A14260

    #A14260

    oklch(51.4% 0.129 3)

  • #7C6500

    #7C6500

    oklch(51.4% 0.105 93.2)

  • #00786C

    #00786C

    oklch(51.4% 0.092 182.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #505FB1.

Similar named colors

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

Use #505FB1 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.