#505CA3

Closest named color: Dusky Blue (#475F94). oklch(49.9% 0.114 274.3), rgb(80, 92, 163).

Aa

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

About this color

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

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

Values

HEX#505CA3
RGBrgb(80, 92, 163)
HSLhsl(231, 34%, 48%)
OKLCHoklch(49.9% 0.114 274.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 #505CA3 6.17:1 AA Lc -85.8 Fine for body text
Black text on #505CA3 3.40:1 AA large text Lc 23.4 Dividers and decoration only
#505CA3 text on white 6.17:1 AA Lc 80.7 Fine for body text
#505CA3 text on black 3.40:1 AA large text Lc -21.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D3D8EE

    oklch(88.5% 0.031 275.6)

  4. Step 300

    300

    #B5BFE5

    oklch(81% 0.055 273.5)

  5. Step 400

    400

    #909DD8

    oklch(70.8% 0.088 274.4)

  6. Step 500

    500

    #7583CD

    oklch(63% 0.113 274.6)

  7. Step 600

    600

    #5E6CBA

    oklch(55.6% 0.122 274.1)

  8. Step 700

    700 (this color)

    #505CA3

    oklch(49.9% 0.114 274.3)

  9. Step 800

    800

    #404A82

    oklch(42.8% 0.093 274.2)

  10. Step 900

    900

    #363E68

    oklch(37.7% 0.073 274.2)

  11. Step 950

    950

    #20243D

    oklch(26.9% 0.047 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#505CA3 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)#3F65A60.029
Deuteranopia (no green cones)#375EA10.030
Tritanopia (no blue cones)#2E6B770.101
Achromatopsia (no color)#6161610.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #505CA3

    #505CA3

    oklch(49.9% 0.114 274.3)

  • #766100

    #766100

    oklch(49.9% 0.102 94.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505CA3

    #505CA3

    oklch(49.9% 0.114 274.3)

  • #17689F

    #17689F

    oklch(49.9% 0.114 244.5)

  • #725097

    #725097

    oklch(49.9% 0.115 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #505CA3

    #505CA3

    oklch(49.9% 0.114 274.3)

  • #8E5300

    #8E5300

    oklch(50% 0.112 64.7)

  • #556D16

    #556D16

    oklch(49.8% 0.113 124.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505CA3

    #505CA3

    oklch(49.9% 0.114 274.3)

  • #994735

    #994735

    oklch(49.9% 0.114 33.8)

  • #1B7544

    #1B7544

    oklch(49.8% 0.113 154.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505CA3

    #505CA3

    oklch(49.9% 0.114 274.3)

  • #97445B

    #97445B

    oklch(50% 0.114 4.7)

  • #766100

    #766100

    oklch(49.9% 0.102 94.1)

  • #007369

    #007369

    oklch(49.9% 0.088 184.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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