#5258C6

Closest named color: Iris (#6258C4). oklch(51.7% 0.168 276.4), rgb(82, 88, 198).

Aa

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

About this color

#5258C6 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.168 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.024 away. White text reads best on it, at 5.88:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.168)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.57:1
White text5.88:1

Values

HEX#5258C6
RGBrgb(82, 88, 198)
HSLhsl(237, 50%, 55%)
OKLCHoklch(51.7% 0.168 276.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 #5258C6 5.88:1 AA Lc -84.3 Fine for body text
Black text on #5258C6 3.57:1 AA large text Lc 25.0 Dividers and decoration only
#5258C6 text on white 5.88:1 AA Lc 79.1 Fine for body text
#5258C6 text on black 3.57:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300

    #B2BDF6

    oklch(81% 0.082 275.9)

  5. Step 400

    400

    #8C98F1

    oklch(70.7% 0.13 276.7)

  6. Step 500

    500

    #717CEC

    oklch(63.1% 0.166 276.3)

  7. Step 600

    600

    #5B62DA

    oklch(55.6% 0.181 276.3)

  8. Step 700

    700 (this color)

    #5258C6

    oklch(51.7% 0.168 276.4)

  9. Step 800

    800

    #3E4299

    oklch(42.6% 0.14 276.7)

  10. Step 900

    900

    #34397A

    oklch(37.7% 0.109 276.5)

  11. Step 950

    950

    #1E2247

    oklch(27% 0.068 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#5258C6 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)#0069CA0.065
Deuteranopia (no green cones)#0060C40.061
Tritanopia (no blue cones)#0072860.148
Achromatopsia (no color)#6464640.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #5258C6

    #5258C6

    oklch(51.7% 0.168 276.4)

  • #7A6700

    #7A6700

    oklch(51.7% 0.106 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5258C6

    #5258C6

    oklch(51.7% 0.168 276.4)

  • #006CB0

    #006CB0

    oklch(51.6% 0.135 246.7)

  • #8146B2

    #8146B2

    oklch(51.6% 0.168 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #5258C6

    #5258C6

    oklch(51.7% 0.168 276.4)

  • #935800

    #935800

    oklch(51.6% 0.115 66.3)

  • #547500

    #547500

    oklch(51.8% 0.133 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5258C6

    #5258C6

    oklch(51.7% 0.168 276.4)

  • #B4360C

    #B4360C

    oklch(51.7% 0.169 36.3)

  • #007C49

    #007C49

    oklch(51.6% 0.124 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5258C6

    #5258C6

    oklch(51.7% 0.168 276.4)

  • #B12F58

    #B12F58

    oklch(51.6% 0.168 6.5)

  • #7A6700

    #7A6700

    oklch(51.7% 0.106 96.4)

  • #007870

    #007870

    oklch(51.6% 0.09 186.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5258C6 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.