#505FB6

Closest named color: Iris (#6258C4). oklch(51.8% 0.137 273.3), rgb(80, 95, 182).

Aa

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

About this color

#505FB6 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.137 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.038 away. White text reads best on it, at 5.74:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.65:1
White text5.74:1

Values

HEX#505FB6
RGBrgb(80, 95, 182)
HSLhsl(231, 41%, 51%)
OKLCHoklch(51.8% 0.137 273.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 #505FB6 5.74:1 AA Lc -83.8 Fine for body text
Black text on #505FB6 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#505FB6 text on white 5.74:1 AA Lc 78.5 Fine for body text
#505FB6 text on black 3.65:1 AA large text Lc -23.2 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B2BEEC

    oklch(80.8% 0.066 273.4)

  5. Step 400

    400

    #8B9CE3

    oklch(70.8% 0.106 273.1)

  6. Step 500

    500

    #6F82DB

    oklch(63.2% 0.135 272.9)

  7. Step 600

    600

    #5969C8

    oklch(55.6% 0.147 273.5)

  8. Step 700

    700 (this color)

    #505FB6

    oklch(51.8% 0.137 273.3)

  9. Step 800

    800

    #3C488C

    oklch(42.8% 0.113 273.2)

  10. Step 900

    900

    #333D70

    oklch(37.8% 0.088 273.2)

  11. Step 950

    950

    #1E2442

    oklch(27.1% 0.056 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#505FB6 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)#366BB90.039
Deuteranopia (no green cones)#2862B40.041
Tritanopia (no blue cones)#1772820.121
Achromatopsia (no color)#6666660.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #505FB6

    #505FB6

    oklch(51.8% 0.137 273.3)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505FB6

    #505FB6

    oklch(51.8% 0.137 273.3)

  • #006EAA

    #006EAA

    oklch(51.7% 0.126 243.2)

  • #7951A8

    #7951A8

    oklch(51.8% 0.137 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #505FB6

    #505FB6

    oklch(51.8% 0.137 273.3)

  • #965600

    #965600

    oklch(51.6% 0.118 63.1)

  • #5A7300

    #5A7300

    oklch(51.7% 0.127 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505FB6

    #505FB6

    oklch(51.8% 0.137 273.3)

  • #A8442F

    #A8442F

    oklch(51.7% 0.137 33.5)

  • #007D42

    #007D42

    oklch(51.7% 0.132 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505FB6

    #505FB6

    oklch(51.8% 0.137 273.3)

  • #A54060

    #A54060

    oklch(51.8% 0.136 3.4)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

  • #00796D

    #00796D

    oklch(51.7% 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 #505FB6, closest first.

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

Similar named colors

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

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