#5274B2

Closest named color: Flat Blue (#3C73A8). oklch(56.1% 0.104 261.7), rgb(82, 116, 178).

Aa

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

About this color

#5274B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.104 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.029 away. White text reads best on it, at 4.66:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.49:1
White text4.66:1

Values

HEX#5274B2
RGBrgb(82, 116, 178)
HSLhsl(219, 38%, 51%)
OKLCHoklch(56.1% 0.104 261.7)

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 #5274B2 4.66:1 AA Lc -77.7 Fine for body text
Black text on #5274B2 4.49:1 AA large text Lc 31.8 Non-text elements, placeholder text
#5274B2 text on white 4.66:1 AA Lc 72.3 Content text, not long reading
#5274B2 text on black 4.49:1 AA large text Lc -29.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

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B0C1E0

    oklch(80.8% 0.048 262.5)

  5. Step 400

    400

    #87A1D0

    oklch(70.7% 0.075 262.1)

  6. Step 500

    500

    #6989C4

    oklch(63% 0.097 262.1)

  7. Step 600

    600 (this color)

    #5274B2

    oklch(56.1% 0.104 261.7)

  8. Step 700

    700

    #416098

    oklch(49.2% 0.097 261.5)

  9. Step 800

    800

    #364E7B

    oklch(42.6% 0.081 262.2)

  10. Step 900

    900

    #2F4163

    oklch(37.6% 0.063 262.4)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#5274B2 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)#5B79B50.019
Deuteranopia (no green cones)#5070B10.012
Tritanopia (no blue cones)#1E828B0.094
Achromatopsia (no color)#7474740.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #5274B2

    #5274B2

    oklch(56.1% 0.104 261.7)

  • #936E1D

    #936E1D

    oklch(56.1% 0.105 82.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5274B2

    #5274B2

    oklch(56.1% 0.104 261.7)

  • #1F7FA7

    #1F7FA7

    oklch(56.2% 0.104 231.5)

  • #7669AD

    #7669AD

    oklch(56.2% 0.104 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #5274B2

    #5274B2

    oklch(56.1% 0.104 261.7)

  • #A56237

    #A56237

    oklch(56.3% 0.104 51.8)

  • #777A28

    #777A28

    oklch(56% 0.104 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5274B2

    #5274B2

    oklch(56.1% 0.104 261.7)

  • #AA5A59

    #AA5A59

    oklch(56.2% 0.105 21.7)

  • #4F8449

    #4F8449

    oklch(56.1% 0.105 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5274B2

    #5274B2

    oklch(56.1% 0.104 261.7)

  • #A3597B

    #A3597B

    oklch(56.1% 0.105 352.1)

  • #936E1D

    #936E1D

    oklch(56.1% 0.105 82.3)

  • #14886D

    #14886D

    oklch(56% 0.105 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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