#506BDF

Closest named color: Royal Blue (#4169E1). oklch(57% 0.179 270), rgb(80, 107, 223).

Aa

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

About this color

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

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

Values

HEX#506BDF
RGBrgb(80, 107, 223)
HSLhsl(229, 69%, 59%)
OKLCHoklch(57% 0.179 270)

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 #506BDF 4.65:1 AA Lc -77.4 Fine for body text
Black text on #506BDF 4.50:1 AA Lc 32.1 Non-text elements, placeholder text
#506BDF text on white 4.65:1 AA Lc 72.0 Content text, not long reading
#506BDF text on black 4.50:1 AA Lc -29.7 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E4EAFA

    oklch(93.7% 0.023 269.4)

  3. Step 200

    200

    #CDD8F8

    oklch(88.4% 0.046 270.4)

  4. Step 300

    300

    #ACBFF6

    oklch(81% 0.081 269.7)

  5. Step 400

    400

    #819BF1

    oklch(70.6% 0.13 270.1)

  6. Step 500

    500

    #6480EC

    oklch(63.1% 0.165 270.2)

  7. Step 600

    600 (this color)

    #506BDF

    oklch(57% 0.179 270)

  8. Step 700

    700

    #3E55BD

    oklch(49.2% 0.165 269.9)

  9. Step 800

    800

    #334699

    oklch(42.7% 0.137 270)

  10. Step 900

    900

    #2C3C7A

    oklch(37.8% 0.107 269.8)

  11. Step 950

    950

    #1A2347

    oklch(26.9% 0.068 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#506BDF 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)#227BE30.048
Deuteranopia (no green cones)#006EDD0.049
Tritanopia (no blue cones)#00869B0.149
Achromatopsia (no color)#7474740.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #506BDF

    #506BDF

    oklch(57% 0.179 270)

  • #927300

    #927300

    oklch(57% 0.116 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506BDF

    #506BDF

    oklch(57% 0.179 270)

  • #007FBC

    #007FBC

    oklch(56.9% 0.131 240.3)

  • #8957CF

    #8957CF

    oklch(56.9% 0.179 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #506BDF

    #506BDF

    oklch(57% 0.179 270)

  • #AF6100

    #AF6100

    oklch(57.1% 0.134 60.2)

  • #6E8200

    #6E8200

    oklch(57% 0.135 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506BDF

    #506BDF

    oklch(57% 0.179 270)

  • #CB4030

    #CB4030

    oklch(57% 0.178 30)

  • #009041

    #009041

    oklch(57.1% 0.157 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506BDF

    #506BDF

    oklch(57% 0.179 270)

  • #C53C73

    #C53C73

    oklch(57% 0.179 0)

  • #927300

    #927300

    oklch(57% 0.116 89.9)

  • #008B7A

    #008B7A

    oklch(57.1% 0.103 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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