#505CB5

Closest named color: Iris (#6258C4). oklch(51.1% 0.14 274.6), rgb(80, 92, 181).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.53:1
White text5.93:1

Values

HEX#505CB5
RGBrgb(80, 92, 181)
HSLhsl(233, 41%, 51%)
OKLCHoklch(51.1% 0.14 274.6)

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 #505CB5 5.93:1 AA Lc -84.7 Fine for body text
Black text on #505CB5 3.53:1 AA large text Lc 24.6 Dividers and decoration only
#505CB5 text on white 5.93:1 AA Lc 79.4 Fine for body text
#505CB5 text on black 3.53:1 AA large text Lc -22.4 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

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D1D8F3

    oklch(88.5% 0.038 274.1)

  4. Step 300

    300

    #B3BEED

    oklch(80.9% 0.068 274.5)

  5. Step 400

    400

    #8C9BE4

    oklch(70.7% 0.108 274.4)

  6. Step 500

    500

    #7181DC

    oklch(63.2% 0.138 274.3)

  7. Step 600

    600

    #5B68CA

    oklch(55.6% 0.151 274.7)

  8. Step 700

    700 (this color)

    #505CB5

    oklch(51.1% 0.14 274.6)

  9. Step 800

    800

    #3D478D

    oklch(42.7% 0.115 274.4)

  10. Step 900

    900

    #343C71

    oklch(37.7% 0.091 274.8)

  11. Step 950

    950

    #1E2442

    oklch(27.1% 0.056 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#505CB5 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)#3168B80.042
Deuteranopia (no green cones)#2260B30.046
Tritanopia (no blue cones)#1970800.124
Achromatopsia (no color)#6464640.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #505CB5

    #505CB5

    oklch(51.1% 0.14 274.6)

  • #7A6500

    #7A6500

    oklch(51.2% 0.105 94.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505CB5

    #505CB5

    oklch(51.1% 0.14 274.6)

  • #006BA9

    #006BA9

    oklch(50.9% 0.127 244.7)

  • #794EA6

    #794EA6

    oklch(51.2% 0.139 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #505CB5

    #505CB5

    oklch(51.1% 0.14 274.6)

  • #935600

    #935600

    oklch(51.2% 0.115 64.6)

  • #567200

    #567200

    oklch(51.1% 0.128 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505CB5

    #505CB5

    oklch(51.1% 0.14 274.6)

  • #A74129

    #A74129

    oklch(51.1% 0.14 34.6)

  • #007B44

    #007B44

    oklch(51.2% 0.127 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505CB5

    #505CB5

    oklch(51.1% 0.14 274.6)

  • #A43C5C

    #A43C5C

    oklch(51% 0.14 4.5)

  • #7A6500

    #7A6500

    oklch(51.2% 0.105 94.7)

  • #00776D

    #00776D

    oklch(51.2% 0.09 184.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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