#5258C2

Closest named color: Iris (#6258C4). oklch(51.4% 0.163 276.6), rgb(82, 88, 194).

Aa

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

About this color

#5258C2 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.163 and its hue 277°. 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.94:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.163)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.53:1
White text5.94:1

Values

HEX#5258C2
RGBrgb(82, 88, 194)
HSLhsl(237, 48%, 54%)
OKLCHoklch(51.4% 0.163 276.6)

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 #5258C2 5.94:1 AA Lc -84.6 Fine for body text
Black text on #5258C2 3.53:1 AA large text Lc 24.7 Dividers and decoration only
#5258C2 text on white 5.94:1 AA Lc 79.4 Fine for body text
#5258C2 text on black 3.53:1 AA large text Lc -22.4 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

    #D1D7F7

    oklch(88.5% 0.044 277.1)

  4. Step 300

    300

    #B3BDF4

    oklch(81% 0.079 276.5)

  5. Step 400

    400

    #8C98EE

    oklch(70.6% 0.126 276.6)

  6. Step 500

    500

    #727CE9

    oklch(63% 0.162 276.7)

  7. Step 600

    600

    #5C63D7

    oklch(55.6% 0.175 276.5)

  8. Step 700

    700 (this color)

    #5258C2

    oklch(51.4% 0.163 276.6)

  9. Step 800

    800

    #3E4397

    oklch(42.7% 0.135 276.5)

  10. Step 900

    900

    #343A78

    oklch(37.8% 0.104 276)

  11. Step 950

    950

    #1E2246

    oklch(26.9% 0.066 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#5258C2 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)#1069C60.063
Deuteranopia (no green cones)#005FC00.062
Tritanopia (no blue cones)#0771840.144
Achromatopsia (no color)#6464640.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #5258C2

    #5258C2

    oklch(51.4% 0.163 276.6)

  • #796600

    #796600

    oklch(51.3% 0.106 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5258C2

    #5258C2

    oklch(51.4% 0.163 276.6)

  • #006BAF

    #006BAF

    oklch(51.3% 0.135 246.9)

  • #7F47AF

    #7F47AF

    oklch(51.3% 0.163 306.3)

Open the analogous palette in the generator

Split complementary

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

  • #5258C2

    #5258C2

    oklch(51.4% 0.163 276.6)

  • #925800

    #925800

    oklch(51.5% 0.114 66.8)

  • #537400

    #537400

    oklch(51.4% 0.132 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5258C2

    #5258C2

    oklch(51.4% 0.163 276.6)

  • #B03811

    #B03811

    oklch(51.3% 0.163 36.6)

  • #007B49

    #007B49

    oklch(51.3% 0.123 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5258C2

    #5258C2

    oklch(51.4% 0.163 276.6)

  • #AE3158

    #AE3158

    oklch(51.3% 0.163 6.3)

  • #796600

    #796600

    oklch(51.3% 0.106 96.2)

  • #00776F

    #00776F

    oklch(51.2% 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 #5258C2, closest first.

Similar named colors

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

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