#505BCE

Closest named color: Warm Blue (#4B57DB). oklch(52.7% 0.176 274.5), rgb(80, 91, 206).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.176)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.72:1
White text5.63:1

Values

HEX#505BCE
RGBrgb(80, 91, 206)
HSLhsl(235, 56%, 56%)
OKLCHoklch(52.7% 0.176 274.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 #505BCE 5.63:1 AA Lc -83.1 Fine for body text
Black text on #505BCE 3.72:1 AA large text Lc 26.3 Dividers and decoration only
#505BCE text on white 5.63:1 AA Lc 77.8 Fine for body text
#505BCE text on black 3.72:1 AA large text Lc -24.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 600.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D8F7

    oklch(88.6% 0.044 274)

  4. Step 300

    300

    #B1BDF4

    oklch(80.8% 0.079 274.9)

  5. Step 400

    400

    #8999EF

    oklch(70.6% 0.127 274.7)

  6. Step 500

    500

    #6E7EEA

    oklch(63.2% 0.162 274.5)

  7. Step 600

    600 (this color)

    #505BCE

    oklch(52.7% 0.176 274.5)

  8. Step 700

    700

    #4852BB

    oklch(49% 0.164 274.6)

  9. Step 800

    800

    #3B4497

    oklch(42.7% 0.135 274.5)

  10. Step 900

    900

    #323A79

    oklch(37.7% 0.106 274.7)

  11. Step 950

    950

    #1D2347

    oklch(27.1% 0.067 274)

Export this scale for Tailwind in the Tailwind colors tool

#505BCE 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)#006DD20.062
Deuteranopia (no green cones)#0062CC0.057
Tritanopia (no blue cones)#00768C0.149
Achromatopsia (no color)#6767670.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #505BCE

    #505BCE

    oklch(52.7% 0.176 274.5)

  • #7F6900

    #7F6900

    oklch(52.7% 0.108 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505BCE

    #505BCE

    oklch(52.7% 0.176 274.5)

  • #0070B1

    #0070B1

    oklch(52.6% 0.132 244.8)

  • #8348BB

    #8348BB

    oklch(52.7% 0.176 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #505BCE

    #505BCE

    oklch(52.7% 0.176 274.5)

  • #995A00

    #995A00

    oklch(52.8% 0.119 64.8)

  • #5A7700

    #5A7700

    oklch(52.7% 0.132 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505BCE

    #505BCE

    oklch(52.7% 0.176 274.5)

  • #BA3512

    #BA3512

    oklch(52.7% 0.175 34.6)

  • #008047

    #008047

    oklch(52.7% 0.131 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505BCE

    #505BCE

    oklch(52.7% 0.176 274.5)

  • #B72E5E

    #B72E5E

    oklch(52.7% 0.176 4.6)

  • #7F6900

    #7F6900

    oklch(52.7% 0.108 94.5)

  • #007C71

    #007C71

    oklch(52.7% 0.093 184.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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