#3172CB

Closest named color: Windows Blue (#3778BF). oklch(55.7% 0.153 257.2), rgb(49, 114, 203).

Aa

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

About this color

#3172CB is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.153 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.028 away. White text reads best on it, at 4.77:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.153)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.39:1
White text4.77:1

Values

HEX#3172CB
RGBrgb(49, 114, 203)
HSLhsl(215, 61%, 49%)
OKLCHoklch(55.7% 0.153 257.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 #3172CB 4.77:1 AA Lc -78.2 Fine for body text
Black text on #3172CB 4.39:1 AA large text Lc 31.4 Non-text elements, placeholder text
#3172CB text on white 4.77:1 AA Lc 72.7 Content text, not long reading
#3172CB text on black 4.39:1 AA large text Lc -29.0 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF7

    oklch(93.7% 0.019 255.5)

  3. Step 200

    200

    #CADBF3

    oklch(88.6% 0.038 257)

  4. Step 300

    300

    #A5C3ED

    oklch(81% 0.068 256.8)

  5. Step 400

    400

    #74A2E5

    oklch(70.7% 0.111 257.7)

  6. Step 500

    500

    #4E8ADD

    oklch(63.2% 0.14 256.9)

  7. Step 600

    600 (this color)

    #3172CB

    oklch(55.7% 0.153 257.2)

  8. Step 700

    700

    #235FAF

    oklch(49.1% 0.142 257)

  9. Step 800

    800

    #1F4E8E

    oklch(42.8% 0.118 257.1)

  10. Step 900

    900

    #1F4171

    oklch(37.6% 0.092 257.4)

  11. Step 950

    950

    #132742

    oklch(27.1% 0.057 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#3172CB 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)#457ACE0.030
Deuteranopia (no green cones)#276CC90.019
Tritanopia (no blue cones)#0087940.119
Achromatopsia (no color)#7373730.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #3172CB

    #3172CB

    oklch(55.7% 0.153 257.2)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3172CB

    #3172CB

    oklch(55.7% 0.153 257.2)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

  • #7061C7

    #7061C7

    oklch(55.7% 0.153 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #3172CB

    #3172CB

    oklch(55.7% 0.153 257.2)

  • #B85001

    #B85001

    oklch(55.7% 0.153 47.3)

  • #7C7800

    #7C7800

    oklch(55.8% 0.12 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3172CB

    #3172CB

    oklch(55.7% 0.153 257.2)

  • #BC4552

    #BC4552

    oklch(55.7% 0.153 17.2)

  • #42871E

    #42871E

    oklch(55.7% 0.153 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3172CB

    #3172CB

    oklch(55.7% 0.153 257.2)

  • #B04784

    #B04784

    oklch(55.6% 0.153 347.3)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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