#506ED2

Closest named color: Royal Blue (#4169E1). oklch(56.7% 0.157 268.5), rgb(80, 110, 210).

Aa

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

About this color

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

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

Values

HEX#506ED2
RGBrgb(80, 110, 210)
HSLhsl(226, 59%, 57%)
OKLCHoklch(56.7% 0.157 268.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 #506ED2 4.66:1 AA Lc -77.6 Fine for body text
Black text on #506ED2 4.50:1 AA Lc 32.0 Non-text elements, placeholder text
#506ED2 text on white 4.66:1 AA Lc 72.1 Content text, not long reading
#506ED2 text on black 4.50:1 AA Lc -29.6 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ADC0EF

    oklch(81% 0.07 267.6)

  5. Step 400

    400

    #839DE8

    oklch(70.7% 0.114 268.8)

  6. Step 500

    500

    #6583E1

    oklch(63.1% 0.146 268.7)

  7. Step 600

    600 (this color)

    #506ED2

    oklch(56.7% 0.157 268.5)

  8. Step 700

    700

    #3E58B3

    oklch(49% 0.147 268.5)

  9. Step 800

    800

    #334991

    oklch(42.8% 0.122 268.2)

  10. Step 900

    900

    #2D3E73

    oklch(37.8% 0.093 268.3)

  11. Step 950

    950

    #1A2444

    oklch(26.9% 0.061 268.9)

Export this scale for Tailwind in the Tailwind colors tool

#506ED2 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)#3B7AD60.034
Deuteranopia (no green cones)#236FD00.038
Tritanopia (no blue cones)#0085960.134
Achromatopsia (no color)#7474740.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #506ED2

    #506ED2

    oklch(56.7% 0.157 268.5)

  • #927200

    #927200

    oklch(56.7% 0.116 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506ED2

    #506ED2

    oklch(56.7% 0.157 268.5)

  • #007FB8

    #007FB8

    oklch(56.7% 0.127 238.5)

  • #845DC5

    #845DC5

    oklch(56.7% 0.157 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #506ED2

    #506ED2

    oklch(56.7% 0.157 268.5)

  • #AF5F00

    #AF5F00

    oklch(56.7% 0.135 58.8)

  • #6F8000

    #6F8000

    oklch(56.6% 0.132 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506ED2

    #506ED2

    oklch(56.7% 0.157 268.5)

  • #C2493D

    #C2493D

    oklch(56.8% 0.158 28.7)

  • #108E3C

    #108E3C

    oklch(56.6% 0.157 148.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506ED2

    #506ED2

    oklch(56.7% 0.157 268.5)

  • #BB4675

    #BB4675

    oklch(56.6% 0.157 358.5)

  • #927200

    #927200

    oklch(56.7% 0.116 89.1)

  • #008A77

    #008A77

    oklch(56.7% 0.104 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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