#506ED9

Closest named color: Royal Blue (#4169E1). oklch(57.1% 0.167 268.8), rgb(80, 110, 217).

Aa

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

About this color

#506ED9 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.167 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.025 away. White text reads best on it, at 4.59:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.57:1
White text4.59:1

Values

HEX#506ED9
RGBrgb(80, 110, 217)
HSLhsl(227, 64%, 58%)
OKLCHoklch(57.1% 0.167 268.8)

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 #506ED9 4.59:1 AA Lc -77.0 Fine for body text
Black text on #506ED9 4.57:1 AA Lc 32.5 Non-text elements, placeholder text
#506ED9 text on white 4.59:1 AA Lc 71.6 Content text, not long reading
#506ED9 text on black 4.57:1 AA Lc -30.1 Non-text elements, placeholder text

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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED9F6

    oklch(88.6% 0.042 269)

  4. Step 300

    300

    #ACBFF2

    oklch(80.8% 0.075 268.8)

  5. Step 400

    400

    #829DEC

    oklch(70.8% 0.12 268.9)

  6. Step 500

    500

    #6382E6

    oklch(63.1% 0.154 268.7)

  7. Step 600

    600 (this color)

    #506ED9

    oklch(57.1% 0.167 268.8)

  8. Step 700

    700

    #3D57B7

    oklch(49.1% 0.155 268.7)

  9. Step 800

    800

    #334894

    oklch(42.8% 0.127 268.9)

  10. Step 900

    900

    #2C3D76

    oklch(37.7% 0.099 268.8)

  11. Step 950

    950

    #1A2445

    oklch(27% 0.063 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#506ED9 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)#347CDD0.040
Deuteranopia (no green cones)#116FD70.045
Tritanopia (no blue cones)#0087990.142
Achromatopsia (no color)#7575750.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #506ED9

    #506ED9

    oklch(57.1% 0.167 268.8)

  • #947300

    #947300

    oklch(57.2% 0.117 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506ED9

    #506ED9

    oklch(57.1% 0.167 268.8)

  • #0080BA

    #0080BA

    oklch(57% 0.128 238.8)

  • #875CCB

    #875CCB

    oklch(57.2% 0.167 298.9)

Open the analogous palette in the generator

Split complementary

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

  • #506ED9

    #506ED9

    oklch(57.1% 0.167 268.8)

  • #B16000

    #B16000

    oklch(57.2% 0.136 58.7)

  • #708200

    #708200

    oklch(57.2% 0.134 119)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506ED9

    #506ED9

    oklch(57.1% 0.167 268.8)

  • #C74639

    #C74639

    oklch(57.1% 0.167 29)

  • #00903C

    #00903C

    oklch(57% 0.162 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506ED9

    #506ED9

    oklch(57.1% 0.167 268.8)

  • #C14376

    #C14376

    oklch(57.2% 0.167 358.8)

  • #947300

    #947300

    oklch(57.2% 0.117 88.6)

  • #008B79

    #008B79

    oklch(57% 0.104 179.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #506ED9 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.