#515FB5

Closest named color: Iris (#6258C4). oklch(51.8% 0.136 273.8), rgb(81, 95, 181).

Aa

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

About this color

#515FB5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.136 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.038 away. White text reads best on it, at 5.74:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.65:1
White text5.74:1

Values

HEX#515FB5
RGBrgb(81, 95, 181)
HSLhsl(232, 40%, 51%)
OKLCHoklch(51.8% 0.136 273.8)

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 #515FB5 5.74:1 AA Lc -83.8 Fine for body text
Black text on #515FB5 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#515FB5 text on white 5.74:1 AA Lc 78.5 Fine for body text
#515FB5 text on black 3.65:1 AA large text Lc -23.2 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 700.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B3BEEC

    oklch(80.9% 0.066 274.3)

  5. Step 400

    400

    #8C9CE2

    oklch(70.8% 0.104 273.6)

  6. Step 500

    500

    #7181DA

    oklch(63% 0.135 274.2)

  7. Step 600

    600

    #5A69C7

    oklch(55.6% 0.145 273.9)

  8. Step 700

    700 (this color)

    #515FB5

    oklch(51.8% 0.136 273.8)

  9. Step 800

    800

    #3D488C

    oklch(42.8% 0.112 273.8)

  10. Step 900

    900

    #333D6F

    oklch(37.7% 0.086 273.1)

  11. Step 950

    950

    #1E2441

    oklch(27% 0.055 273.4)

Export this scale for Tailwind in the Tailwind colors tool

#515FB5 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)#376AB80.037
Deuteranopia (no green cones)#2A62B30.041
Tritanopia (no blue cones)#1C72810.120
Achromatopsia (no color)#6666660.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #515FB5

    #515FB5

    oklch(51.8% 0.136 273.8)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515FB5

    #515FB5

    oklch(51.8% 0.136 273.8)

  • #006EAB

    #006EAB

    oklch(51.8% 0.127 243.6)

  • #7951A7

    #7951A7

    oklch(51.7% 0.136 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #515FB5

    #515FB5

    oklch(51.8% 0.136 273.8)

  • #965700

    #965700

    oklch(51.8% 0.117 63.9)

  • #5A7400

    #5A7400

    oklch(51.9% 0.128 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515FB5

    #515FB5

    oklch(51.8% 0.136 273.8)

  • #A8452F

    #A8452F

    oklch(51.9% 0.136 34)

  • #007D43

    #007D43

    oklch(51.7% 0.131 153.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515FB5

    #515FB5

    oklch(51.8% 0.136 273.8)

  • #A5405F

    #A5405F

    oklch(51.7% 0.136 4.1)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

  • #00796E

    #00796E

    oklch(51.8% 0.092 183.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #515FB5.

Similar named colors

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

Use #515FB5 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.