#505DE3

Closest named color: Warm Blue (#4B57DB). oklch(54.7% 0.201 273.5), rgb(80, 93, 227).

Aa

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

About this color

#505DE3 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.201 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.020 away. White text reads best on it, at 5.22:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.201)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text4.01:1
White text5.22:1

Values

HEX#505DE3
RGBrgb(80, 93, 227)
HSLhsl(235, 72%, 60%)
OKLCHoklch(54.7% 0.201 273.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 #505DE3 5.22:1 AA Lc -80.8 Fine for body text
Black text on #505DE3 4.01:1 AA large text Lc 28.6 Dividers and decoration only
#505DE3 text on white 5.22:1 AA Lc 75.5 Fine for body text
#505DE3 text on black 4.01:1 AA large text Lc -26.3 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 600.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #ADBDFC

    oklch(80.9% 0.091 273.2)

  5. Step 400

    400

    #8498FA

    oklch(70.7% 0.145 273.4)

  6. Step 500

    500

    #687BF7

    oklch(63.1% 0.185 273.4)

  7. Step 600

    600 (this color)

    #505DE3

    oklch(54.7% 0.201 273.5)

  8. Step 700

    700

    #444EC8

    oklch(49.1% 0.187 273.7)

  9. Step 800

    800

    #3741A2

    oklch(42.7% 0.155 273.4)

  10. Step 900

    900

    #2F3880

    oklch(37.6% 0.121 273.7)

  11. Step 950

    950

    #1B224B

    oklch(27% 0.076 273)

Export this scale for Tailwind in the Tailwind colors tool

#505DE3 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)#0073E70.064
Deuteranopia (no green cones)#0066E00.054
Tritanopia (no blue cones)#007E970.166
Achromatopsia (no color)#6C6C6C0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #505DE3

    #505DE3

    oklch(54.7% 0.201 273.5)

  • #876E00

    #876E00

    oklch(54.7% 0.112 93.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505DE3

    #505DE3

    oklch(54.7% 0.201 273.5)

  • #0077B8

    #0077B8

    oklch(54.8% 0.134 243.5)

  • #8B46CE

    #8B46CE

    oklch(54.7% 0.202 303.7)

Open the analogous palette in the generator

Split complementary

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

  • #505DE3

    #505DE3

    oklch(54.7% 0.201 273.5)

  • #A25E00

    #A25E00

    oklch(54.8% 0.124 63.6)

  • #617D00

    #617D00

    oklch(54.8% 0.136 123.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505DE3

    #505DE3

    oklch(54.7% 0.201 273.5)

  • #CA2B00

    #CA2B00

    oklch(54.6% 0.199 33.4)

  • #008748

    #008748

    oklch(54.7% 0.139 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505DE3

    #505DE3

    oklch(54.7% 0.201 273.5)

  • #C62164

    #C62164

    oklch(54.6% 0.201 3.4)

  • #876E00

    #876E00

    oklch(54.7% 0.112 93.1)

  • #008376

    #008376

    oklch(54.8% 0.098 182.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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