#505FA2

Closest named color: Dusky Blue (#475F94). oklch(50.5% 0.108 272.5), rgb(80, 95, 162).

Aa

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

About this color

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

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

Values

HEX#505FA2
RGBrgb(80, 95, 162)
HSLhsl(229, 34%, 47%)
OKLCHoklch(50.5% 0.108 272.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 #505FA2 6.00:1 AA Lc -85.1 Fine for body text
Black text on #505FA2 3.49:1 AA large text Lc 24.2 Dividers and decoration only
#505FA2 text on white 6.00:1 AA Lc 79.9 Fine for body text
#505FA2 text on black 3.49:1 AA large text Lc -22.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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D2D8ED

    oklch(88.4% 0.03 273.1)

  4. Step 300

    300

    #B5BFE3

    oklch(80.9% 0.052 273)

  5. Step 400

    400

    #8F9ED5

    oklch(70.8% 0.082 272.4)

  6. Step 500

    500

    #7385CA

    oklch(63.1% 0.106 271.9)

  7. Step 600

    600

    #5D6DB7

    oklch(55.6% 0.116 272.9)

  8. Step 700

    700 (this color)

    #505FA2

    oklch(50.5% 0.108 272.5)

  9. Step 800

    800

    #3F4B80

    oklch(42.8% 0.089 272.5)

  10. Step 900

    900

    #353F67

    oklch(37.8% 0.07 272.1)

  11. Step 950

    950

    #1F253C

    oklch(27% 0.044 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#505FA2 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)#4467A50.024
Deuteranopia (no green cones)#3C60A10.024
Tritanopia (no blue cones)#2E6D780.097
Achromatopsia (no color)#6363630.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #505FA2

    #505FA2

    oklch(50.5% 0.108 272.5)

  • #796200

    #796200

    oklch(50.4% 0.103 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505FA2

    #505FA2

    oklch(50.5% 0.108 272.5)

  • #1C6A9D

    #1C6A9D

    oklch(50.4% 0.109 242.9)

  • #715497

    #715497

    oklch(50.5% 0.107 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #505FA2

    #505FA2

    oklch(50.5% 0.108 272.5)

  • #8F5412

    #8F5412

    oklch(50.4% 0.108 62.2)

  • #5A6E1D

    #5A6E1D

    oklch(50.5% 0.108 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505FA2

    #505FA2

    oklch(50.5% 0.108 272.5)

  • #984A3B

    #984A3B

    oklch(50.4% 0.108 32.3)

  • #297645

    #297645

    oklch(50.5% 0.108 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505FA2

    #505FA2

    oklch(50.5% 0.108 272.5)

  • #96475F

    #96475F

    oklch(50.5% 0.109 2.5)

  • #796200

    #796200

    oklch(50.4% 0.103 92.8)

  • #007569

    #007569

    oklch(50.5% 0.09 182.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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