#5258C9

Closest named color: Iris (#6258C4). oklch(51.9% 0.172 276.3), rgb(82, 88, 201).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.172)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.59:1
White text5.83:1

Values

HEX#5258C9
RGBrgb(82, 88, 201)
HSLhsl(237, 52%, 55%)
OKLCHoklch(51.9% 0.172 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 #5258C9 5.83:1 AA Lc -84.1 Fine for body text
Black text on #5258C9 3.59:1 AA large text Lc 25.2 Dividers and decoration only
#5258C9 text on white 5.83:1 AA Lc 78.8 Fine for body text
#5258C9 text on black 3.59:1 AA large text Lc -23.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 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

    #B2BCF7

    oklch(80.8% 0.084 276.9)

  5. Step 400

    400

    #8B98F3

    oklch(70.8% 0.133 276.3)

  6. Step 500

    500

    #707BEE

    oklch(63% 0.171 276.2)

  7. Step 600

    600

    #5B61DD

    oklch(55.6% 0.186 276.4)

  8. Step 700

    700 (this color)

    #5258C9

    oklch(51.9% 0.172 276.3)

  9. Step 800

    800

    #3D429B

    oklch(42.7% 0.143 276.1)

  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

#5258C9 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)#006ACD0.066
Deuteranopia (no green cones)#0060C70.061
Tritanopia (no blue cones)#0073880.150
Achromatopsia (no color)#6565650.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #5258C9

    #5258C9

    oklch(51.9% 0.172 276.3)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5258C9

    #5258C9

    oklch(51.9% 0.172 276.3)

  • #006DB0

    #006DB0

    oklch(51.9% 0.134 246.1)

  • #8246B5

    #8246B5

    oklch(51.9% 0.172 306.2)

Open the analogous palette in the generator

Split complementary

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

  • #5258C9

    #5258C9

    oklch(51.9% 0.172 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.

  • #5258C9

    #5258C9

    oklch(51.9% 0.172 276.3)

  • #B63507

    #B63507

    oklch(51.9% 0.172 36.4)

  • #007D49

    #007D49

    oklch(51.9% 0.125 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5258C9

    #5258C9

    oklch(51.9% 0.172 276.3)

  • #B42D59

    #B42D59

    oklch(52% 0.173 6.3)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

  • #007971

    #007971

    oklch(51.9% 0.091 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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