#506CE8

Closest named color: Royal Blue (#4169E1). oklch(57.8% 0.19 269.9), rgb(80, 108, 232).

Aa

Black text reads best on this color (4.65:1).

About this color

#506CE8 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.190 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.022 away. Black text reads best on it, at 4.65:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.190)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.65:1
White text4.51:1

Values

HEX#506CE8
RGBrgb(80, 108, 232)
HSLhsl(229, 77%, 61%)
OKLCHoklch(57.8% 0.19 269.9)

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 #506CE8 4.51:1 AA Lc -76.4 Fine for body text
Black text on #506CE8 4.65:1 AA Lc 33.1 Non-text elements, placeholder text
#506CE8 text on white 4.51:1 AA Lc 71.0 Content text, not long reading
#506CE8 text on black 4.65:1 AA Lc -30.7 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ABBFF9

    oklch(81% 0.085 269.7)

  5. Step 400

    400

    #7F9BF6

    oklch(70.7% 0.137 269.7)

  6. Step 500

    500

    #617FF2

    oklch(63.1% 0.175 269.8)

  7. Step 600

    600 (this color)

    #506CE8

    oklch(57.8% 0.19 269.9)

  8. Step 700

    700

    #3C53C3

    oklch(49.1% 0.176 269.9)

  9. Step 800

    800

    #31459E

    oklch(42.8% 0.146 269.6)

  10. Step 900

    900

    #2B3B7D

    oklch(37.7% 0.113 270)

  11. Step 950

    950

    #192349

    oklch(27% 0.072 270)

Export this scale for Tailwind in the Tailwind colors tool

#506CE8 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)#0F7EEC0.054
Deuteranopia (no green cones)#0070E50.048
Tritanopia (no blue cones)#008AA00.157
Achromatopsia (no color)#7676760.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #506CE8

    #506CE8

    oklch(57.8% 0.19 269.9)

  • #957500

    #957500

    oklch(57.7% 0.118 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506CE8

    #506CE8

    oklch(57.8% 0.19 269.9)

  • #0082BF

    #0082BF

    oklch(57.8% 0.132 239.8)

  • #8D57D7

    #8D57D7

    oklch(57.9% 0.189 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #506CE8

    #506CE8

    oklch(57.8% 0.19 269.9)

  • #B26300

    #B26300

    oklch(57.8% 0.135 60.3)

  • #708500

    #708500

    oklch(57.9% 0.138 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506CE8

    #506CE8

    oklch(57.8% 0.19 269.9)

  • #D23C2C

    #D23C2C

    oklch(57.7% 0.189 29.9)

  • #009342

    #009342

    oklch(58% 0.16 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506CE8

    #506CE8

    oklch(57.8% 0.19 269.9)

  • #CC3875

    #CC3875

    oklch(57.8% 0.19 0.1)

  • #957500

    #957500

    oklch(57.7% 0.118 89.5)

  • #008E7C

    #008E7C

    oklch(57.9% 0.105 179.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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