#5271B2

Closest named color: French Blue (#436BAD). oklch(55.5% 0.108 263.9), rgb(82, 113, 178).

Aa

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

About this color

#5271B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.108 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.026 away. White text reads best on it, at 4.81:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text4.36:1
White text4.81:1

Values

HEX#5271B2
RGBrgb(82, 113, 178)
HSLhsl(221, 38%, 51%)
OKLCHoklch(55.5% 0.108 263.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 #5271B2 4.81:1 AA Lc -78.7 Fine for body text
Black text on #5271B2 4.36:1 AA large text Lc 30.8 Non-text elements, placeholder text
#5271B2 text on white 4.81:1 AA Lc 73.3 Content text, not long reading
#5271B2 text on black 4.36:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9EC

    oklch(88.4% 0.028 265.4)

  4. Step 300

    300

    #B1C1E1

    oklch(80.9% 0.049 264.3)

  5. Step 400

    400

    #88A1D2

    oklch(70.8% 0.077 263.5)

  6. Step 500

    500

    #6A88C6

    oklch(63% 0.1 264)

  7. Step 600

    600 (this color)

    #5271B2

    oklch(55.5% 0.108 263.9)

  8. Step 700

    700

    #435F9A

    oklch(49.2% 0.101 263.9)

  9. Step 800

    800

    #374E7C

    oklch(42.8% 0.082 263.2)

  10. Step 900

    900

    #304164

    oklch(37.8% 0.064 263.8)

  11. Step 950

    950

    #1C263B

    oklch(27% 0.042 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#5271B2 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)#5777B50.019
Deuteranopia (no green cones)#4C6EB10.012
Tritanopia (no blue cones)#1F7F890.096
Achromatopsia (no color)#7272720.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #5271B2

    #5271B2

    oklch(55.5% 0.108 263.9)

  • #916C13

    #916C13

    oklch(55.4% 0.108 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5271B2

    #5271B2

    oklch(55.5% 0.108 263.9)

  • #1A7CA8

    #1A7CA8

    oklch(55.4% 0.108 234.1)

  • #7765AC

    #7765AC

    oklch(55.4% 0.109 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #5271B2

    #5271B2

    oklch(55.5% 0.108 263.9)

  • #A3602F

    #A3602F

    oklch(55.5% 0.108 54.4)

  • #727923

    #727923

    oklch(55.3% 0.108 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5271B2

    #5271B2

    oklch(55.5% 0.108 263.9)

  • #A95753

    #A95753

    oklch(55.4% 0.108 24.1)

  • #488348

    #488348

    oklch(55.4% 0.108 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5271B2

    #5271B2

    oklch(55.5% 0.108 263.9)

  • #A35677

    #A35677

    oklch(55.4% 0.108 354.1)

  • #916C13

    #916C13

    oklch(55.4% 0.108 83.2)

  • #00866E

    #00866E

    oklch(55.3% 0.105 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5271B2 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.