#506ECB

Closest named color: Royal Blue (#4169E1). oklch(56.2% 0.148 268), rgb(80, 110, 203).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.148)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.43:1
White text4.73:1

Values

HEX#506ECB
RGBrgb(80, 110, 203)
HSLhsl(225, 54%, 55%)
OKLCHoklch(56.2% 0.148 268)

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 #506ECB 4.73:1 AA Lc -78.1 Fine for body text
Black text on #506ECB 4.43:1 AA large text Lc 31.4 Non-text elements, placeholder text
#506ECB text on white 4.73:1 AA Lc 72.6 Content text, not long reading
#506ECB text on black 4.43:1 AA large text Lc -29.0 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

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AEC0ED

    oklch(81% 0.067 267.8)

  5. Step 400

    400

    #849EE3

    oklch(70.7% 0.106 267.9)

  6. Step 500

    500

    #6684DB

    oklch(63% 0.136 268)

  7. Step 600

    600 (this color)

    #506ECB

    oklch(56.2% 0.148 268)

  8. Step 700

    700

    #3F5AAE

    oklch(49.1% 0.137 267.7)

  9. Step 800

    800

    #344A8D

    oklch(42.8% 0.114 267.7)

  10. Step 900

    900

    #2D3E70

    oklch(37.6% 0.088 267.9)

  11. Step 950

    950

    #1B2542

    oklch(27.1% 0.056 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#506ECB 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)#4279CE0.030
Deuteranopia (no green cones)#2E6EC90.032
Tritanopia (no blue cones)#0083930.127
Achromatopsia (no color)#7373730.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #506ECB

    #506ECB

    oklch(56.2% 0.148 268)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #506ECB

    #506ECB

    oklch(56.2% 0.148 268)

  • #007EB5

    #007EB5

    oklch(56.3% 0.124 237.8)

  • #815EBF

    #815EBF

    oklch(56.2% 0.147 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #506ECB

    #506ECB

    oklch(56.2% 0.148 268)

  • #AE5D00

    #AE5D00

    oklch(56.2% 0.135 57.9)

  • #6F7E00

    #6F7E00

    oklch(56.1% 0.13 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #506ECB

    #506ECB

    oklch(56.2% 0.148 268)

  • #BC4C41

    #BC4C41

    oklch(56.3% 0.147 28.3)

  • #218B3E

    #218B3E

    oklch(56.1% 0.147 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #506ECB

    #506ECB

    oklch(56.2% 0.148 268)

  • #B64975

    #B64975

    oklch(56.2% 0.148 357.8)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

  • #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 #506ECB, closest first.

Similar named colors

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

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