#5270C1

Closest named color: Windows Blue (#3778BF). oklch(56.1% 0.13 266.9), rgb(82, 112, 193).

Aa

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

About this color

#5270C1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.130 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.032 away. White text reads best on it, at 4.72:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.44:1
White text4.72:1

Values

HEX#5270C1
RGBrgb(82, 112, 193)
HSLhsl(224, 47%, 54%)
OKLCHoklch(56.1% 0.13 266.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 #5270C1 4.72:1 AA Lc -78.1 Fine for body text
Black text on #5270C1 4.44:1 AA large text Lc 31.5 Non-text elements, placeholder text
#5270C1 text on white 4.72:1 AA Lc 72.6 Content text, not long reading
#5270C1 text on black 4.44:1 AA large text Lc -29.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 600.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #CFD9EF

    oklch(88.4% 0.032 266.1)

  4. Step 300

    300

    #AFC0E8

    oklch(80.8% 0.06 267)

  5. Step 400

    400

    #869FDC

    oklch(70.7% 0.094 266.9)

  6. Step 500

    500

    #6886D2

    oklch(63.1% 0.12 266.7)

  7. Step 600

    600 (this color)

    #5270C1

    oklch(56.1% 0.13 266.9)

  8. Step 700

    700

    #415CA5

    oklch(49.1% 0.121 266.7)

  9. Step 800

    800

    #364B86

    oklch(42.6% 0.101 267.3)

  10. Step 900

    900

    #2F3F6B

    oklch(37.6% 0.078 267.5)

  11. Step 950

    950

    #1B253F

    oklch(26.9% 0.051 267)

Export this scale for Tailwind in the Tailwind colors tool

#5270C1 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)#4D79C40.024
Deuteranopia (no green cones)#3E6FBF0.022
Tritanopia (no blue cones)#00828F0.117
Achromatopsia (no color)#7373730.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #5270C1

    #5270C1

    oklch(56.1% 0.13 266.9)

  • #926F00

    #926F00

    oklch(56.1% 0.115 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5270C1

    #5270C1

    oklch(56.1% 0.13 266.9)

  • #007EB3

    #007EB3

    oklch(56.2% 0.122 236.8)

  • #7E62B7

    #7E62B7

    oklch(56.2% 0.13 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #5270C1

    #5270C1

    oklch(56.1% 0.13 266.9)

  • #AC5D10

    #AC5D10

    oklch(56% 0.13 56.8)

  • #707E00

    #707E00

    oklch(56.2% 0.13 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5270C1

    #5270C1

    oklch(56.1% 0.13 266.9)

  • #B5524A

    #B5524A

    oklch(56.2% 0.13 26.7)

  • #368944

    #368944

    oklch(56.2% 0.131 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5270C1

    #5270C1

    oklch(56.1% 0.13 266.9)

  • #AF5076

    #AF5076

    oklch(56.2% 0.13 357)

  • #926F00

    #926F00

    oklch(56.1% 0.115 86.6)

  • #008873

    #008873

    oklch(56% 0.104 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5270C1 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.