#505CB4

Closest named color: Iris (#6258C4). oklch(51% 0.138 274.6), rgb(80, 92, 180).

Aa

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

About this color

#505CB4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.138 and its hue 275°. 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.94:1.

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

Values

HEX#505CB4
RGBrgb(80, 92, 180)
HSLhsl(233, 40%, 51%)
OKLCHoklch(51% 0.138 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 #505CB4 5.94:1 AA Lc -84.7 Fine for body text
Black text on #505CB4 3.53:1 AA large text Lc 24.5 Dividers and decoration only
#505CB4 text on white 5.94:1 AA Lc 79.5 Fine for body text
#505CB4 text on black 3.53:1 AA large text Lc -22.3 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

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B3BEED

    oklch(80.9% 0.068 274.5)

  5. Step 400

    400

    #8C9BE3

    oklch(70.6% 0.107 274.4)

  6. Step 500

    500

    #7181DB

    oklch(63.1% 0.136 274.2)

  7. Step 600

    600

    #5B68C9

    oklch(55.6% 0.149 274.7)

  8. Step 700

    700 (this color)

    #505CB4

    oklch(51% 0.138 274.6)

  9. Step 800

    800

    #3D478D

    oklch(42.7% 0.115 274.4)

  10. Step 900

    900

    #343C70

    oklch(37.6% 0.089 274.7)

  11. Step 950

    950

    #1E2442

    oklch(27.1% 0.056 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#505CB4 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)#3268B70.041
Deuteranopia (no green cones)#2460B20.045
Tritanopia (no blue cones)#1B707F0.123
Achromatopsia (no color)#6464640.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #505CB4

    #505CB4

    oklch(51% 0.138 274.6)

  • #796400

    #796400

    oklch(50.9% 0.104 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505CB4

    #505CB4

    oklch(51% 0.138 274.6)

  • #006BA9

    #006BA9

    oklch(50.9% 0.127 244.7)

  • #784EA5

    #784EA5

    oklch(51% 0.138 304.2)

Open the analogous palette in the generator

Split complementary

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

  • #505CB4

    #505CB4

    oklch(51% 0.138 274.6)

  • #925600

    #925600

    oklch(51.1% 0.114 65.1)

  • #567200

    #567200

    oklch(51.1% 0.128 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505CB4

    #505CB4

    oklch(51% 0.138 274.6)

  • #A6412A

    #A6412A

    oklch(50.9% 0.139 34.3)

  • #007A43

    #007A43

    oklch(50.9% 0.127 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505CB4

    #505CB4

    oklch(51% 0.138 274.6)

  • #A43D5C

    #A43D5C

    oklch(51.1% 0.138 4.8)

  • #796400

    #796400

    oklch(50.9% 0.104 94.5)

  • #00776C

    #00776C

    oklch(51.1% 0.091 183.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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