#5252C9

Closest named color: Warm Blue (#4B57DB). oklch(50.8% 0.18 277.9), rgb(82, 82, 201).

Aa

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

About this color

#5252C9 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.180 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.031 away. White text reads best on it, at 6.15:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.180)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.40:1
White text6.15:1

Values

HEX#5252C9
RGBrgb(82, 82, 201)
HSLhsl(240, 52%, 55%)
OKLCHoklch(50.8% 0.18 277.9)

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 #5252C9 6.15:1 AA Lc -85.5 Fine for body text
Black text on #5252C9 3.40:1 AA large text Lc 23.7 Dividers and decoration only
#5252C9 text on white 6.15:1 AA Lc 80.3 Fine for body text
#5252C9 text on black 3.40:1 AA large text Lc -21.5 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7FA

    oklch(88.6% 0.049 277.7)

  4. Step 300

    300

    #B3BCF9

    oklch(81% 0.087 277.8)

  5. Step 400

    400

    #8D96F6

    oklch(70.7% 0.14 278.1)

  6. Step 500

    500

    #7379F2

    oklch(63.1% 0.178 277.9)

  7. Step 600

    600

    #5E5EE1

    oklch(55.6% 0.194 278)

  8. Step 700

    700 (this color)

    #5252C9

    oklch(50.8% 0.18 277.9)

  9. Step 800

    800

    #3F409E

    oklch(42.7% 0.149 277.6)

  10. Step 900

    900

    #35377D

    oklch(37.6% 0.116 278)

  11. Step 950

    950

    #1F2149

    oklch(27% 0.073 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#5252C9 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)#0066CD0.070
Deuteranopia (no green cones)#005CC70.064
Tritanopia (no blue cones)#006F850.156
Achromatopsia (no color)#6161610.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #5252C9

    #5252C9

    oklch(50.8% 0.18 277.9)

  • #766500

    #766500

    oklch(50.8% 0.105 97.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5252C9

    #5252C9

    oklch(50.8% 0.18 277.9)

  • #0069AF

    #0069AF

    oklch(50.8% 0.137 248)

  • #823FB3

    #823FB3

    oklch(50.9% 0.18 307.8)

Open the analogous palette in the generator

Split complementary

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

  • #5252C9

    #5252C9

    oklch(50.8% 0.18 277.9)

  • #8F5700

    #8F5700

    oklch(50.9% 0.112 67.6)

  • #4F7300

    #4F7300

    oklch(50.9% 0.133 128.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5252C9

    #5252C9

    oklch(50.8% 0.18 277.9)

  • #B03500

    #B03500

    oklch(50.8% 0.167 37.8)

  • #00794A

    #00794A

    oklch(50.7% 0.119 157.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5252C9

    #5252C9

    oklch(50.8% 0.18 277.9)

  • #B32352

    #B32352

    oklch(50.8% 0.18 7.8)

  • #766500

    #766500

    oklch(50.8% 0.105 97.6)

  • #00756F

    #00756F

    oklch(50.7% 0.088 188.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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