#505CB3

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

Aa

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

About this color

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

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

Values

HEX#505CB3
RGBrgb(80, 92, 179)
HSLhsl(233, 39%, 51%)
OKLCHoklch(51% 0.137 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 #505CB3 5.96:1 AA Lc -84.8 Fine for body text
Black text on #505CB3 3.52:1 AA large text Lc 24.5 Dividers and decoration only
#505CB3 text on white 5.96:1 AA Lc 79.6 Fine for body text
#505CB3 text on black 3.52:1 AA large text Lc -22.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

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B3BEEC

    oklch(80.9% 0.066 274.3)

  5. Step 400

    400

    #8D9BE3

    oklch(70.7% 0.107 274.9)

  6. Step 500

    500

    #7281DB

    oklch(63.2% 0.136 274.7)

  7. Step 600

    600

    #5B69C8

    oklch(55.7% 0.147 274.3)

  8. Step 700

    700 (this color)

    #505CB3

    oklch(51% 0.137 274.6)

  9. Step 800

    800

    #3E478C

    oklch(42.7% 0.113 274.9)

  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

#505CB3 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)#3368B60.041
Deuteranopia (no green cones)#2560B10.044
Tritanopia (no blue cones)#1C6F7F0.120
Achromatopsia (no color)#6464640.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #505CB3

    #505CB3

    oklch(51% 0.137 274.6)

  • #796400

    #796400

    oklch(50.9% 0.104 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505CB3

    #505CB3

    oklch(51% 0.137 274.6)

  • #006BA9

    #006BA9

    oklch(50.9% 0.127 244.7)

  • #784EA4

    #784EA4

    oklch(51% 0.137 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #505CB3

    #505CB3

    oklch(51% 0.137 274.6)

  • #925500

    #925500

    oklch(50.9% 0.115 64.3)

  • #567100

    #567100

    oklch(50.8% 0.127 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505CB3

    #505CB3

    oklch(51% 0.137 274.6)

  • #A5422A

    #A5422A

    oklch(50.9% 0.137 34.9)

  • #007A43

    #007A43

    oklch(50.9% 0.127 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505CB3

    #505CB3

    oklch(51% 0.137 274.6)

  • #A33D5C

    #A33D5C

    oklch(51% 0.137 4.5)

  • #796400

    #796400

    oklch(50.9% 0.104 94.5)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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