#505AAA

Closest named color: Dusky Blue (#475F94). oklch(49.9% 0.127 275.5), rgb(80, 90, 170).

Aa

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

About this color

#505AAA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.127 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.042 away. White text reads best on it, at 6.20:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.38:1
White text6.20:1

Values

HEX#505AAA
RGBrgb(80, 90, 170)
HSLhsl(233, 36%, 49%)
OKLCHoklch(49.9% 0.127 275.5)

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 #505AAA 6.20:1 AA Lc -85.9 Fine for body text
Black text on #505AAA 3.38:1 AA large text Lc 23.3 Dividers and decoration only
#505AAA text on white 6.20:1 AA Lc 80.8 Fine for body text
#505AAA text on black 3.38:1 AA large text Lc -21.1 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B5BEE9

    oklch(80.9% 0.062 275.7)

  5. Step 400

    400

    #8F9CDE

    oklch(70.8% 0.098 275.1)

  6. Step 500

    500

    #7582D4

    oklch(63.2% 0.124 275.5)

  7. Step 600

    600

    #5E6AC2

    oklch(55.7% 0.136 275.2)

  8. Step 700

    700 (this color)

    #505AAA

    oklch(49.9% 0.127 275.5)

  9. Step 800

    800

    #404887

    oklch(42.7% 0.104 275.6)

  10. Step 900

    900

    #363D6C

    oklch(37.8% 0.081 275.5)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#505AAA 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)#3665AD0.038
Deuteranopia (no green cones)#2D5DA80.040
Tritanopia (no blue cones)#286B7A0.111
Achromatopsia (no color)#6161610.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #505AAA

    #505AAA

    oklch(49.9% 0.127 275.5)

  • #756200

    #756200

    oklch(50% 0.103 95.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505AAA

    #505AAA

    oklch(49.9% 0.127 275.5)

  • #0168A6

    #0168A6

    oklch(50% 0.127 245.4)

  • #754D9C

    #754D9C

    oklch(50% 0.127 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #505AAA

    #505AAA

    oklch(49.9% 0.127 275.5)

  • #8D5300

    #8D5300

    oklch(49.8% 0.112 65.2)

  • #526F00

    #526F00

    oklch(50% 0.127 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505AAA

    #505AAA

    oklch(49.9% 0.127 275.5)

  • #9E432C

    #9E432C

    oklch(50% 0.127 35.3)

  • #007743

    #007743

    oklch(50% 0.123 155.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505AAA

    #505AAA

    oklch(49.9% 0.127 275.5)

  • #9C3F59

    #9C3F59

    oklch(50% 0.126 5.4)

  • #756200

    #756200

    oklch(50% 0.103 95.8)

  • #00736A

    #00736A

    oklch(50% 0.088 185.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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