#5259C8

Closest named color: Iris (#6258C4). oklch(52% 0.17 276), rgb(82, 89, 200).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.170)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.62:1
White text5.79:1

Values

HEX#5259C8
RGBrgb(82, 89, 200)
HSLhsl(236, 52%, 55%)
OKLCHoklch(52% 0.17 276)

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 #5259C8 5.79:1 AA Lc -83.9 Fine for body text
Black text on #5259C8 3.62:1 AA large text Lc 25.4 Dividers and decoration only
#5259C8 text on white 5.79:1 AA Lc 78.7 Fine for body text
#5259C8 text on black 3.62:1 AA large text Lc -23.1 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

    #707CED

    oklch(63.1% 0.168 275.9)

  7. Step 600

    600

    #5A62DB

    oklch(55.6% 0.182 275.9)

  8. Step 700

    700 (this color)

    #5259C8

    oklch(52% 0.17 276)

  9. Step 800

    800

    #3D429A

    oklch(42.7% 0.141 276.2)

  10. Step 900

    900

    #33397A

    oklch(37.6% 0.109 275.9)

  11. Step 950

    950

    #1E2248

    oklch(27% 0.07 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#5259C8 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.065
Deuteranopia (no green cones)#0060C60.061
Tritanopia (no blue cones)#0073880.147
Achromatopsia (no color)#6565650.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #5259C8

    #5259C8

    oklch(52% 0.17 276)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5259C8

    #5259C8

    oklch(52% 0.17 276)

  • #006DB0

    #006DB0

    oklch(51.9% 0.134 246.1)

  • #8247B4

    #8247B4

    oklch(52% 0.17 306.3)

Open the analogous palette in the generator

Split complementary

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

  • #5259C8

    #5259C8

    oklch(52% 0.17 276)

  • #955900

    #955900

    oklch(52% 0.116 66.1)

  • #567500

    #567500

    oklch(51.9% 0.132 125.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5259C8

    #5259C8

    oklch(52% 0.17 276)

  • #B5360E

    #B5360E

    oklch(51.9% 0.17 35.9)

  • #007D49

    #007D49

    oklch(51.9% 0.125 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5259C8

    #5259C8

    oklch(52% 0.17 276)

  • #B32F5A

    #B32F5A

    oklch(52% 0.17 5.9)

  • #7B6800

    #7B6800

    oklch(52% 0.107 96.5)

  • #007A71

    #007A71

    oklch(52.1% 0.092 185.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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