#506DCD

Closest named color: Royal Blue (#4169E1). oklch(56.1% 0.152 268.5), rgb(80, 109, 205).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.152)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.41:1
White text4.76:1

Values

HEX#506DCD
RGBrgb(80, 109, 205)
HSLhsl(226, 56%, 56%)
OKLCHoklch(56.1% 0.152 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 #506DCD 4.76:1 AA Lc -78.2 Fine for body text
Black text on #506DCD 4.41:1 AA large text Lc 31.3 Non-text elements, placeholder text
#506DCD text on white 4.76:1 AA Lc 72.8 Content text, not long reading
#506DCD text on black 4.41:1 AA large text Lc -28.9 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

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #AEC0EE

    oklch(81% 0.068 268.2)

  5. Step 400

    400

    #849EE5

    oklch(70.8% 0.108 268.2)

  6. Step 500

    500

    #6684DE

    oklch(63.2% 0.14 268.3)

  7. Step 600

    600 (this color)

    #506DCD

    oklch(56.1% 0.152 268.5)

  8. Step 700

    700

    #4059B0

    oklch(49.1% 0.141 268.7)

  9. Step 800

    800

    #34498E

    oklch(42.6% 0.117 268.4)

  10. Step 900

    900

    #2D3E72

    oklch(37.7% 0.092 268.2)

  11. Step 950

    950

    #1B2543

    oklch(27.2% 0.058 268.5)

Export this scale for Tailwind in the Tailwind colors tool

#506DCD 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)#3E79D10.033
Deuteranopia (no green cones)#296DCB0.036
Tritanopia (no blue cones)#0083930.131
Achromatopsia (no color)#7373730.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #506DCD

    #506DCD

    oklch(56.1% 0.152 268.5)

  • #907000

    #907000

    oklch(56.1% 0.115 88.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506DCD

    #506DCD

    oklch(56.1% 0.152 268.5)

  • #007DB6

    #007DB6

    oklch(56.1% 0.126 238.9)

  • #825DC1

    #825DC1

    oklch(56.3% 0.152 298.5)

Open the analogous palette in the generator

Split complementary

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

  • #506DCD

    #506DCD

    oklch(56.1% 0.152 268.5)

  • #AD5D00

    #AD5D00

    oklch(56.1% 0.134 58.2)

  • #6E7F00

    #6E7F00

    oklch(56.3% 0.132 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506DCD

    #506DCD

    oklch(56.1% 0.152 268.5)

  • #BD4A3E

    #BD4A3E

    oklch(56.1% 0.151 28.7)

  • #188C3D

    #188C3D

    oklch(56.2% 0.152 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506DCD

    #506DCD

    oklch(56.1% 0.152 268.5)

  • #B74774

    #B74774

    oklch(56.1% 0.151 358.2)

  • #907000

    #907000

    oklch(56.1% 0.115 88.7)

  • #008875

    #008875

    oklch(56.1% 0.103 178.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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