#317DCA

Closest named color: Windows Blue (#3778BF). oklch(58.1% 0.14 251.8), rgb(49, 125, 202).

Aa

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

About this color

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

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

Values

HEX#317DCA
RGBrgb(49, 125, 202)
HSLhsl(210, 61%, 49%)
OKLCHoklch(58.1% 0.14 251.8)

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 #317DCA 4.27:1 AA large text Lc -74.6 Content text, not long reading
Black text on #317DCA 4.91:1 AA Lc 34.9 Non-text elements, placeholder text
#317DCA text on white 4.27:1 AA large text Lc 69.2 Content text, not long reading
#317DCA text on black 4.91:1 AA Lc -32.5 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF0

    oklch(88.4% 0.035 252.3)

  4. Step 300

    300

    #A4C4E9

    oklch(80.9% 0.063 252.3)

  5. Step 400

    400

    #71A5DE

    oklch(70.8% 0.101 251.5)

  6. Step 500

    500

    #498DD4

    oklch(63.1% 0.128 251.4)

  7. Step 600

    600 (this color)

    #317DCA

    oklch(58.1% 0.14 251.8)

  8. Step 700

    700

    #1A62A7

    oklch(49% 0.13 251.8)

  9. Step 800

    800

    #195088

    oklch(42.6% 0.109 252.3)

  10. Step 900

    900

    #1B436C

    oklch(37.6% 0.084 251.5)

  11. Step 950

    950

    #11283F

    oklch(27.1% 0.052 250.3)

Export this scale for Tailwind in the Tailwind colors tool

#317DCA 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)#5982CD0.041
Deuteranopia (no green cones)#4174C80.025
Tritanopia (no blue cones)#008F9A0.104
Achromatopsia (no color)#7A7A7A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #317DCA

    #317DCA

    oklch(58.1% 0.14 251.8)

  • #A76C00

    #A76C00

    oklch(58% 0.124 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317DCA

    #317DCA

    oklch(58.1% 0.14 251.8)

  • #0088A8

    #0088A8

    oklch(58.1% 0.107 222.1)

  • #6F6DCA

    #6F6DCA

    oklch(58% 0.14 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #317DCA

    #317DCA

    oklch(58.1% 0.14 251.8)

  • #BD5930

    #BD5930

    oklch(58.1% 0.14 41.6)

  • #8A7C00

    #8A7C00

    oklch(58.1% 0.121 101.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317DCA

    #317DCA

    oklch(58.1% 0.14 251.8)

  • #BE5265

    #BE5265

    oklch(58.1% 0.14 11.6)

  • #5B8B26

    #5B8B26

    oklch(58.2% 0.14 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317DCA

    #317DCA

    oklch(58.1% 0.14 251.8)

  • #B05592

    #B05592

    oklch(58.1% 0.139 341.6)

  • #A76C00

    #A76C00

    oklch(58% 0.124 71.9)

  • #009162

    #009162

    oklch(58% 0.128 161.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #317DCA 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.