#505DB3

Closest named color: Iris (#6258C4). oklch(51.2% 0.136 274.1), rgb(80, 93, 179).

Aa

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

About this color

#505DB3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.136 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.040 away. White text reads best on it, at 5.90:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.55:1
White text5.90:1

Values

HEX#505DB3
RGBrgb(80, 93, 179)
HSLhsl(232, 39%, 51%)
OKLCHoklch(51.2% 0.136 274.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 #505DB3 5.90:1 AA Lc -84.5 Fine for body text
Black text on #505DB3 3.55:1 AA large text Lc 24.7 Dividers and decoration only
#505DB3 text on white 5.90:1 AA Lc 79.3 Fine for body text
#505DB3 text on black 3.55:1 AA large text Lc -22.5 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B3BEEC

    oklch(80.9% 0.066 274.3)

  5. Step 400

    400

    #8C9BE2

    oklch(70.6% 0.105 274.3)

  6. Step 500

    500

    #7181DA

    oklch(63% 0.135 274.2)

  7. Step 600

    600

    #5B69C7

    oklch(55.6% 0.145 274.3)

  8. Step 700

    700 (this color)

    #505DB3

    oklch(51.2% 0.136 274.1)

  9. Step 800

    800

    #3D478C

    oklch(42.6% 0.114 274.3)

  10. Step 900

    900

    #343C6F

    oklch(37.6% 0.087 274.7)

  11. Step 950

    950

    #1E2441

    oklch(27% 0.055 273.4)

Export this scale for Tailwind in the Tailwind colors tool

#505DB3 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)#3569B60.040
Deuteranopia (no green cones)#2860B10.042
Tritanopia (no blue cones)#1C707F0.120
Achromatopsia (no color)#6464640.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #505DB3

    #505DB3

    oklch(51.2% 0.136 274.1)

  • #7A6500

    #7A6500

    oklch(51.2% 0.105 94.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505DB3

    #505DB3

    oklch(51.2% 0.136 274.1)

  • #006CA9

    #006CA9

    oklch(51.2% 0.126 244)

  • #784FA5

    #784FA5

    oklch(51.2% 0.136 304)

Open the analogous palette in the generator

Split complementary

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

  • #505DB3

    #505DB3

    oklch(51.2% 0.136 274.1)

  • #935600

    #935600

    oklch(51.2% 0.115 64.6)

  • #577200

    #577200

    oklch(51.2% 0.128 124.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505DB3

    #505DB3

    oklch(51.2% 0.136 274.1)

  • #A6432D

    #A6432D

    oklch(51.2% 0.136 34)

  • #007B43

    #007B43

    oklch(51.2% 0.128 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505DB3

    #505DB3

    oklch(51.2% 0.136 274.1)

  • #A33E5D

    #A33E5D

    oklch(51.1% 0.136 4.2)

  • #7A6500

    #7A6500

    oklch(51.2% 0.105 94.7)

  • #00776C

    #00776C

    oklch(51.1% 0.091 183.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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