#505BA4

Closest named color: Dusky Blue (#475F94). oklch(49.8% 0.116 274.9), rgb(80, 91, 164).

Aa

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

About this color

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

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

Values

HEX#505BA4
RGBrgb(80, 91, 164)
HSLhsl(232, 34%, 48%)
OKLCHoklch(49.8% 0.116 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 #505BA4 6.22:1 AA Lc -86.0 Fine for body text
Black text on #505BA4 3.37:1 AA large text Lc 23.2 Dividers and decoration only
#505BA4 text on white 6.22:1 AA Lc 80.9 Fine for body text
#505BA4 text on black 3.37:1 AA large text Lc -21.0 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

    #B5BEE6

    oklch(80.8% 0.057 275.1)

  5. Step 400

    400

    #909CD9

    oklch(70.6% 0.09 275.3)

  6. Step 500

    500

    #7583CF

    oklch(63.1% 0.115 274.7)

  7. Step 600

    600

    #5F6BBC

    oklch(55.6% 0.126 275.2)

  8. Step 700

    700 (this color)

    #505BA4

    oklch(49.8% 0.116 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

    #20243E

    oklch(27% 0.049 276)

Export this scale for Tailwind in the Tailwind colors tool

#505BA4 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)#3D64A70.031
Deuteranopia (no green cones)#345DA20.033
Tritanopia (no blue cones)#2D6B770.104
Achromatopsia (no color)#6161610.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #505BA4

    #505BA4

    oklch(49.8% 0.116 274.9)

  • #756100

    #756100

    oklch(49.8% 0.102 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505BA4

    #505BA4

    oklch(49.8% 0.116 274.9)

  • #1467A0

    #1467A0

    oklch(49.7% 0.117 245.3)

  • #724F97

    #724F97

    oklch(49.7% 0.116 305)

Open the analogous palette in the generator

Split complementary

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

  • #505BA4

    #505BA4

    oklch(49.8% 0.116 274.9)

  • #8D5300

    #8D5300

    oklch(49.8% 0.112 65.2)

  • #546D12

    #546D12

    oklch(49.7% 0.116 124.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505BA4

    #505BA4

    oklch(49.8% 0.116 274.9)

  • #994632

    #994632

    oklch(49.7% 0.116 34.8)

  • #137544

    #137544

    oklch(49.7% 0.116 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505BA4

    #505BA4

    oklch(49.8% 0.116 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 #505BA4, closest first.

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

Similar named colors

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

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