#506AC7

Closest named color: Dark Periwinkle (#665FD1). oklch(55.1% 0.147 269.4), rgb(80, 106, 199).

Aa

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

About this color

#506AC7 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.147 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.042 away. White text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.147)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.22:1
White text4.96:1

Values

HEX#506AC7
RGBrgb(80, 106, 199)
HSLhsl(227, 52%, 55%)
OKLCHoklch(55.1% 0.147 269.4)

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 #506AC7 4.96:1 AA Lc -79.5 Fine for body text
Black text on #506AC7 4.22:1 AA large text Lc 29.9 Dividers and decoration only
#506AC7 text on white 4.96:1 AA Lc 74.1 Content text, not long reading
#506AC7 text on black 4.22:1 AA large text Lc -27.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

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AFBFEC

    oklch(80.8% 0.066 269.6)

  5. Step 400

    400

    #869DE3

    oklch(70.6% 0.106 269.7)

  6. Step 500

    500

    #6984DB

    oklch(63.2% 0.135 269.3)

  7. Step 600

    600 (this color)

    #506AC7

    oklch(55.1% 0.147 269.4)

  8. Step 700

    700

    #4259AD

    oklch(49% 0.136 269.3)

  9. Step 800

    800

    #36498C

    oklch(42.6% 0.113 269.3)

  10. Step 900

    900

    #2F3E70

    oklch(37.7% 0.088 269.3)

  11. Step 950

    950

    #1B2542

    oklch(27.1% 0.056 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#506AC7 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)#3D75CA0.032
Deuteranopia (no green cones)#2A6BC50.036
Tritanopia (no blue cones)#007F8F0.128
Achromatopsia (no color)#7070700.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #506AC7

    #506AC7

    oklch(55.1% 0.147 269.4)

  • #8C6E00

    #8C6E00

    oklch(55.2% 0.113 89.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506AC7

    #506AC7

    oklch(55.1% 0.147 269.4)

  • #007AB3

    #007AB3

    oklch(55.2% 0.125 239.5)

  • #7F5ABA

    #7F5ABA

    oklch(55% 0.147 299.3)

Open the analogous palette in the generator

Split complementary

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

  • #506AC7

    #506AC7

    oklch(55.1% 0.147 269.4)

  • #A85C00

    #A85C00

    oklch(55.2% 0.13 59.5)

  • #6A7C00

    #6A7C00

    oklch(55.2% 0.13 119.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506AC7

    #506AC7

    oklch(55.1% 0.147 269.4)

  • #B8493C

    #B8493C

    oklch(55.1% 0.147 29.3)

  • #15883E

    #15883E

    oklch(55% 0.147 149.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506AC7

    #506AC7

    oklch(55.1% 0.147 269.4)

  • #B3466F

    #B3466F

    oklch(55.2% 0.147 359.7)

  • #8C6E00

    #8C6E00

    oklch(55.2% 0.113 89.7)

  • #008573

    #008573

    oklch(55.2% 0.101 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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