#5258C8

Closest named color: Iris (#6258C4). oklch(51.8% 0.171 276.3), rgb(82, 88, 200).

Aa

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

About this color

#5258C8 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.171 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.85:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.171)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.58:1
White text5.85:1

Values

HEX#5258C8
RGBrgb(82, 88, 200)
HSLhsl(237, 52%, 55%)
OKLCHoklch(51.8% 0.171 276.3)

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 #5258C8 5.85:1 AA Lc -84.2 Fine for body text
Black text on #5258C8 3.58:1 AA large text Lc 25.1 Dividers and decoration only
#5258C8 text on white 5.85:1 AA Lc 78.9 Fine for body text
#5258C8 text on black 3.58:1 AA large text Lc -22.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 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

    #D0D7F8

    oklch(88.4% 0.046 276)

  4. Step 300

    300

    #B2BDF6

    oklch(81% 0.082 275.9)

  5. Step 400

    400

    #8B98F2

    oklch(70.7% 0.132 276.2)

  6. Step 500

    500

    #717BEE

    oklch(63.1% 0.17 276.6)

  7. Step 600

    600

    #5B61DC

    oklch(55.6% 0.184 276.5)

  8. Step 700

    700 (this color)

    #5258C8

    oklch(51.8% 0.171 276.3)

  9. Step 800

    800

    #3D429A

    oklch(42.7% 0.141 276.2)

  10. Step 900

    900

    #34397B

    oklch(37.8% 0.11 276.5)

  11. Step 950

    950

    #1E2248

    oklch(27% 0.07 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#5258C8 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)#006ACC0.066
Deuteranopia (no green cones)#0060C60.061
Tritanopia (no blue cones)#0072870.148
Achromatopsia (no color)#6565650.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #5258C8

    #5258C8

    oklch(51.8% 0.171 276.3)

  • #7B6700

    #7B6700

    oklch(51.8% 0.106 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5258C8

    #5258C8

    oklch(51.8% 0.171 276.3)

  • #006DB0

    #006DB0

    oklch(51.9% 0.134 246.1)

  • #8246B4

    #8246B4

    oklch(51.9% 0.171 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #5258C8

    #5258C8

    oklch(51.8% 0.171 276.3)

  • #945900

    #945900

    oklch(51.9% 0.115 66.6)

  • #557500

    #557500

    oklch(51.8% 0.132 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5258C8

    #5258C8

    oklch(51.8% 0.171 276.3)

  • #B53509

    #B53509

    oklch(51.8% 0.171 36.3)

  • #007D49

    #007D49

    oklch(51.9% 0.125 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5258C8

    #5258C8

    oklch(51.8% 0.171 276.3)

  • #B32E59

    #B32E59

    oklch(51.9% 0.171 6.2)

  • #7B6700

    #7B6700

    oklch(51.8% 0.106 95.6)

  • #007970

    #007970

    oklch(51.8% 0.091 185.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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