#505FB2

Closest named color: French Blue (#436BAD). oklch(51.5% 0.131 273.2), rgb(80, 95, 178).

Aa

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

About this color

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

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

Values

HEX#505FB2
RGBrgb(80, 95, 178)
HSLhsl(231, 39%, 51%)
OKLCHoklch(51.5% 0.131 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 #505FB2 5.79:1 AA Lc -84.1 Fine for body text
Black text on #505FB2 3.62:1 AA large text Lc 25.2 Dividers and decoration only
#505FB2 text on white 5.79:1 AA Lc 78.8 Fine for body text
#505FB2 text on black 3.62:1 AA large text Lc -23.0 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

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BFEB

    oklch(81% 0.064 273)

  5. Step 400

    400

    #8C9CE0

    oklch(70.7% 0.101 273.4)

  6. Step 500

    500

    #7082D8

    oklch(63.1% 0.131 273.2)

  7. Step 600

    600

    #5A6AC5

    oklch(55.6% 0.141 273.4)

  8. Step 700

    700 (this color)

    #505FB2

    oklch(51.5% 0.131 273.2)

  9. Step 800

    800

    #3C488A

    oklch(42.6% 0.11 273.1)

  10. Step 900

    900

    #333D6E

    oklch(37.7% 0.085 273)

  11. Step 950

    950

    #1E2441

    oklch(27% 0.055 273.4)

Export this scale for Tailwind in the Tailwind colors tool

#505FB2 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)#396AB50.036
Deuteranopia (no green cones)#2D61B00.038
Tritanopia (no blue cones)#1D71800.116
Achromatopsia (no color)#6565650.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #505FB2

    #505FB2

    oklch(51.5% 0.131 273.2)

  • #7C6500

    #7C6500

    oklch(51.4% 0.105 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505FB2

    #505FB2

    oklch(51.5% 0.131 273.2)

  • #006DA9

    #006DA9

    oklch(51.4% 0.125 243.4)

  • #7751A5

    #7751A5

    oklch(51.4% 0.133 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #505FB2

    #505FB2

    oklch(51.5% 0.131 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.

  • #505FB2

    #505FB2

    oklch(51.5% 0.131 273.2)

  • #A54532

    #A54532

    oklch(51.4% 0.131 32.9)

  • #027C41

    #027C41

    oklch(51.4% 0.131 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505FB2

    #505FB2

    oklch(51.5% 0.131 273.2)

  • #A24160

    #A24160

    oklch(51.4% 0.132 3)

  • #7C6500

    #7C6500

    oklch(51.4% 0.105 93.2)

  • #00786D

    #00786D

    oklch(51.4% 0.091 183.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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