#317DD4

Closest named color: Windows Blue (#3778BF). oklch(58.7% 0.153 254.3), rgb(49, 125, 212).

Aa

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

About this color

#317DD4 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.153 and its hue 254°. 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 5.01:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.153)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text5.01:1
White text4.18:1

Values

HEX#317DD4
RGBrgb(49, 125, 212)
HSLhsl(212, 65%, 51%)
OKLCHoklch(58.7% 0.153 254.3)

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 #317DD4 4.18:1 AA large text Lc -74.0 Content text, not long reading
Black text on #317DD4 5.01:1 AA Lc 35.6 Non-text elements, placeholder text
#317DD4 text on white 4.18:1 AA large text Lc 68.5 Content text, not long reading
#317DD4 text on black 5.01:1 AA Lc -33.2 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A3C4ED

    oklch(81% 0.068 254.1)

  5. Step 400

    400

    #70A4E4

    oklch(70.8% 0.109 254.2)

  6. Step 500

    500

    #478BDC

    oklch(63% 0.141 254.3)

  7. Step 600

    600 (this color)

    #317DD4

    oklch(58.7% 0.153 254.3)

  8. Step 700

    700

    #1860AE

    oklch(49% 0.142 254.3)

  9. Step 800

    800

    #174F8D

    oklch(42.7% 0.117 254.2)

  10. Step 900

    900

    #1A4271

    oklch(37.7% 0.092 254.4)

  11. Step 950

    950

    #112742

    oklch(27% 0.058 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#317DD4 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)#5384D70.038
Deuteranopia (no green cones)#3775D20.021
Tritanopia (no blue cones)#00929E0.117
Achromatopsia (no color)#7C7C7C0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #317DD4

    #317DD4

    oklch(58.7% 0.153 254.3)

  • #A76F00

    #A76F00

    oklch(58.6% 0.124 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317DD4

    #317DD4

    oklch(58.7% 0.153 254.3)

  • #0089AD

    #0089AD

    oklch(58.6% 0.111 224.7)

  • #746CD2

    #746CD2

    oklch(58.7% 0.152 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #317DD4

    #317DD4

    oklch(58.7% 0.153 254.3)

  • #C35820

    #C35820

    oklch(58.7% 0.152 44.5)

  • #897F00

    #897F00

    oklch(58.7% 0.124 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317DD4

    #317DD4

    oklch(58.7% 0.153 254.3)

  • #C64E60

    #C64E60

    oklch(58.7% 0.153 14.1)

  • #538F21

    #538F21

    oklch(58.7% 0.153 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317DD4

    #317DD4

    oklch(58.7% 0.153 254.3)

  • #B85192

    #B85192

    oklch(58.6% 0.153 344.1)

  • #A76F00

    #A76F00

    oklch(58.6% 0.124 74.2)

  • #009368

    #009368

    oklch(58.7% 0.125 164)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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