#505D99

Closest named color: Dusky Blue (#475F94). oklch(49.5% 0.097 273.1), rgb(80, 93, 153).

Aa

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

About this color

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

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

Values

HEX#505D99
RGBrgb(80, 93, 153)
HSLhsl(229, 31%, 46%)
OKLCHoklch(49.5% 0.097 273.1)

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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B6BFE0

    oklch(80.8% 0.048 273.3)

  5. Step 400

    400

    #919ED0

    oklch(70.7% 0.075 273.1)

  6. Step 500

    500

    #7685C4

    oklch(63% 0.097 273.1)

  7. Step 600

    600

    #5F6EB0

    oklch(55.5% 0.104 272.9)

  8. Step 700

    700 (this color)

    #505D99

    oklch(49.5% 0.097 273.1)

  9. Step 800

    800

    #414B7B

    oklch(42.7% 0.081 273.6)

  10. Step 900

    900

    #373F63

    oklch(37.7% 0.063 273.5)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#505D99 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)#47649B0.021
Deuteranopia (no green cones)#405E980.020
Tritanopia (no blue cones)#3569730.086
Achromatopsia (no color)#6161610.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #505D99

    #505D99

    oklch(49.5% 0.097 273.1)

  • #75600C

    #75600C

    oklch(49.6% 0.097 93.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505D99

    #505D99

    oklch(49.5% 0.097 273.1)

  • #276795

    #276795

    oklch(49.5% 0.098 243.6)

  • #6D538F

    #6D538F

    oklch(49.5% 0.097 303)

Open the analogous palette in the generator

Split complementary

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

  • #505D99

    #505D99

    oklch(49.5% 0.097 273.1)

  • #88541D

    #88541D

    oklch(49.5% 0.097 63.1)

  • #576B26

    #576B26

    oklch(49.6% 0.098 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505D99

    #505D99

    oklch(49.5% 0.097 273.1)

  • #914B3C

    #914B3C

    oklch(49.5% 0.098 33.3)

  • #2E7247

    #2E7247

    oklch(49.6% 0.098 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505D99

    #505D99

    oklch(49.5% 0.097 273.1)

  • #8F485C

    #8F485C

    oklch(49.5% 0.098 3.4)

  • #75600C

    #75600C

    oklch(49.6% 0.097 93.1)

  • #007267

    #007267

    oklch(49.6% 0.088 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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