#5174AB

Closest named color: Flat Blue (#3C73A8). oklch(55.7% 0.095 259.2), rgb(81, 116, 171).

Aa

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

About this color

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

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

Values

HEX#5174AB
RGBrgb(81, 116, 171)
HSLhsl(217, 36%, 49%)
OKLCHoklch(55.7% 0.095 259.2)

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 #5174AB 4.73:1 AA Lc -78.2 Fine for body text
Black text on #5174AB 4.43:1 AA large text Lc 31.3 Non-text elements, placeholder text
#5174AB text on white 4.73:1 AA Lc 72.8 Content text, not long reading
#5174AB text on black 4.43:1 AA large text Lc -28.9 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

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B0C2DD

    oklch(80.9% 0.043 258.4)

  5. Step 400

    400

    #87A2CC

    oklch(70.7% 0.069 259.1)

  6. Step 500

    500

    #698ABE

    oklch(63% 0.087 259.3)

  7. Step 600

    600 (this color)

    #5174AB

    oklch(55.7% 0.095 259.2)

  8. Step 700

    700

    #416193

    oklch(49.1% 0.089 259)

  9. Step 800

    800

    #364F77

    oklch(42.6% 0.074 259.5)

  10. Step 900

    900

    #2F4260

    oklch(37.7% 0.057 259.3)

  11. Step 950

    950

    #1C2738

    oklch(27.1% 0.035 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#5174AB 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)#5E78AD0.021
Deuteranopia (no green cones)#546FAA0.014
Tritanopia (no blue cones)#2380880.084
Achromatopsia (no color)#7373730.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #5174AB

    #5174AB

    oklch(55.7% 0.095 259.2)

  • #916C2A

    #916C2A

    oklch(55.6% 0.095 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5174AB

    #5174AB

    oklch(55.7% 0.095 259.2)

  • #287EA0

    #287EA0

    oklch(55.8% 0.095 228.8)

  • #726AA8

    #726AA8

    oklch(55.8% 0.095 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #5174AB

    #5174AB

    oklch(55.7% 0.095 259.2)

  • #A0623F

    #A0623F

    oklch(55.7% 0.095 49.4)

  • #78782F

    #78782F

    oklch(55.7% 0.095 109.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5174AB

    #5174AB

    oklch(55.7% 0.095 259.2)

  • #A45B5D

    #A45B5D

    oklch(55.6% 0.096 18.9)

  • #55814A

    #55814A

    oklch(55.7% 0.095 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5174AB

    #5174AB

    oklch(55.7% 0.095 259.2)

  • #9D5B7C

    #9D5B7C

    oklch(55.7% 0.096 349.3)

  • #916C2A

    #916C2A

    oklch(55.6% 0.095 78.9)

  • #2B856A

    #2B856A

    oklch(55.6% 0.095 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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