#5175CB

Closest named color: Windows Blue (#3778BF). oklch(57.7% 0.139 265.2), rgb(81, 117, 203).

Aa

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

About this color

#5175CB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.139 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.033 away. Black text reads best on it, at 4.75:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.75:1
White text4.41:1

Values

HEX#5175CB
RGBrgb(81, 117, 203)
HSLhsl(222, 54%, 56%)
OKLCHoklch(57.7% 0.139 265.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 #5175CB 4.41:1 AA large text Lc -75.9 Fine for body text
Black text on #5175CB 4.75:1 AA Lc 33.7 Non-text elements, placeholder text
#5175CB text on white 4.41:1 AA large text Lc 70.4 Content text, not long reading
#5175CB text on black 4.75:1 AA Lc -31.3 Non-text elements, placeholder text

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

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F1

    oklch(88.4% 0.035 266)

  4. Step 300

    300

    #ADC1EA

    oklch(81% 0.062 264.6)

  5. Step 400

    400

    #829FDF

    oklch(70.6% 0.1 265.2)

  6. Step 500

    500

    #6486D7

    oklch(63.1% 0.128 265.7)

  7. Step 600

    600 (this color)

    #5175CB

    oklch(57.7% 0.139 265.2)

  8. Step 700

    700

    #3C5CA9

    oklch(49.1% 0.129 265)

  9. Step 800

    800

    #324B89

    oklch(42.6% 0.107 265.6)

  10. Step 900

    900

    #2C3F6E

    oklch(37.6% 0.084 265.9)

  11. Step 950

    950

    #1A2540

    oklch(26.9% 0.053 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#5175CB 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)#4F7ECE0.024
Deuteranopia (no green cones)#3D73C90.022
Tritanopia (no blue cones)#0088960.120
Achromatopsia (no color)#7878780.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #997300

    #997300

    oklch(57.7% 0.118 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #0083B7

    #0083B7

    oklch(57.6% 0.123 235.3)

  • #8166C2

    #8166C2

    oklch(57.8% 0.139 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #B65F0C

    #B65F0C

    oklch(57.8% 0.139 55.1)

  • #778200

    #778200

    oklch(57.8% 0.131 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #BE534E

    #BE534E

    oklch(57.8% 0.139 25.1)

  • #3A8E42

    #3A8E42

    oklch(57.7% 0.138 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #B7527D

    #B7527D

    oklch(57.8% 0.139 355.6)

  • #997300

    #997300

    oklch(57.7% 0.118 85.5)

  • #008E76

    #008E76

    oklch(57.7% 0.109 175.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5175CB 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.