#505BA3

Closest named color: Dusky Blue (#475F94). oklch(49.7% 0.115 274.9), rgb(80, 91, 163).

Aa

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

About this color

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

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

Values

HEX#505BA3
RGBrgb(80, 91, 163)
HSLhsl(232, 34%, 48%)
OKLCHoklch(49.7% 0.115 274.9)

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 #505BA3 6.23:1 AA Lc -86.1 Fine for body text
Black text on #505BA3 3.36:1 AA large text Lc 23.1 Dividers and decoration only
#505BA3 text on white 6.23:1 AA Lc 80.9 Fine for body text
#505BA3 text on black 3.36:1 AA large text Lc -20.9 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

    #B6BEE5

    oklch(80.8% 0.056 276)

  5. Step 400

    400

    #909CD8

    oklch(70.6% 0.089 275.2)

  6. Step 500

    500

    #7583CE

    oklch(63.1% 0.114 274.6)

  7. Step 600

    600

    #5F6BBB

    oklch(55.5% 0.124 275.2)

  8. Step 700

    700 (this color)

    #505BA3

    oklch(49.7% 0.115 274.9)

  9. Step 800

    800

    #404983

    oklch(42.7% 0.096 274.9)

  10. Step 900

    900

    #363E69

    oklch(37.8% 0.074 274.3)

  11. Step 950

    950

    #20243D

    oklch(26.9% 0.047 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#505BA3 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)#3D64A60.031
Deuteranopia (no green cones)#355DA10.033
Tritanopia (no blue cones)#2E6A770.101
Achromatopsia (no color)#6161610.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #505BA3

    #505BA3

    oklch(49.7% 0.115 274.9)

  • #756100

    #756100

    oklch(49.8% 0.102 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505BA3

    #505BA3

    oklch(49.7% 0.115 274.9)

  • #16679F

    #16679F

    oklch(49.6% 0.116 245.1)

  • #724F96

    #724F96

    oklch(49.7% 0.115 305.3)

Open the analogous palette in the generator

Split complementary

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

  • #505BA3

    #505BA3

    oklch(49.7% 0.115 274.9)

  • #8D5300

    #8D5300

    oklch(49.8% 0.112 65.2)

  • #546D14

    #546D14

    oklch(49.7% 0.115 124.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505BA3

    #505BA3

    oklch(49.7% 0.115 274.9)

  • #984632

    #984632

    oklch(49.6% 0.115 34.9)

  • #157544

    #157544

    oklch(49.7% 0.115 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505BA3

    #505BA3

    oklch(49.7% 0.115 274.9)

  • #97425A

    #97425A

    oklch(49.7% 0.116 4.6)

  • #756100

    #756100

    oklch(49.8% 0.102 94.9)

  • #007269

    #007269

    oklch(49.7% 0.087 185.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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