#5174A8

Closest named color: Flat Blue (#3C73A8). oklch(55.5% 0.091 258.1), rgb(81, 116, 168).

Aa

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

About this color

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

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

Values

HEX#5174A8
RGBrgb(81, 116, 168)
HSLhsl(216, 35%, 49%)
OKLCHoklch(55.5% 0.091 258.1)

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 #5174A8 4.75:1 AA Lc -78.4 Fine for body text
Black text on #5174A8 4.41:1 AA large text Lc 31.2 Non-text elements, placeholder text
#5174A8 text on white 4.75:1 AA Lc 72.9 Content text, not long reading
#5174A8 text on black 4.41:1 AA large text Lc -28.8 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DC

    oklch(81% 0.041 258.8)

  5. Step 400

    400

    #88A2CA

    oklch(70.7% 0.066 258.9)

  6. Step 500

    500

    #6A8BBC

    oklch(63.1% 0.083 258.1)

  7. Step 600

    600 (this color)

    #5174A8

    oklch(55.5% 0.091 258.1)

  8. Step 700

    700

    #426190

    oklch(49% 0.084 258.5)

  9. Step 800

    800

    #365075

    oklch(42.8% 0.07 257.2)

  10. Step 900

    900

    #2F425E

    oklch(37.6% 0.054 257.9)

  11. Step 950

    950

    #1C2737

    oklch(27% 0.034 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#5174A8 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)#6077AA0.021
Deuteranopia (no green cones)#556FA70.014
Tritanopia (no blue cones)#277F860.081
Achromatopsia (no color)#7373730.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5174A8

    #5174A8

    oklch(55.5% 0.091 258.1)

  • #906C2F

    #906C2F

    oklch(55.5% 0.09 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5174A8

    #5174A8

    oklch(55.5% 0.091 258.1)

  • #2C7D9D

    #2C7D9D

    oklch(55.5% 0.091 228.3)

  • #716AA5

    #716AA5

    oklch(55.5% 0.091 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #5174A8

    #5174A8

    oklch(55.5% 0.091 258.1)

  • #9E6242

    #9E6242

    oklch(55.5% 0.091 48.3)

  • #787732

    #787732

    oklch(55.5% 0.091 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5174A8

    #5174A8

    oklch(55.5% 0.091 258.1)

  • #A15C5F

    #A15C5F

    oklch(55.4% 0.09 17.6)

  • #58804A

    #58804A

    oklch(55.6% 0.092 137.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5174A8

    #5174A8

    oklch(55.5% 0.091 258.1)

  • #9A5C7C

    #9A5C7C

    oklch(55.4% 0.091 348.2)

  • #906C2F

    #906C2F

    oklch(55.5% 0.09 78.1)

  • #318469

    #318469

    oklch(55.5% 0.091 168.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5174A8 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.