#3173EF

Closest named color: Cerulean Blue (#056EEE). oklch(58.4% 0.199 261.5), rgb(49, 115, 239).

Aa

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

About this color

#3173EF is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.199 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.025 away. Black text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.199)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.82:1
White text4.34:1

Values

HEX#3173EF
RGBrgb(49, 115, 239)
HSLhsl(219, 86%, 56%)
OKLCHoklch(58.4% 0.199 261.5)

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 #3173EF 4.34:1 AA large text Lc -75.0 Fine for body text
Black text on #3173EF 4.82:1 AA Lc 34.5 Non-text elements, placeholder text
#3173EF text on white 4.34:1 AA large text Lc 69.6 Content text, not long reading
#3173EF text on black 4.82:1 AA Lc -32.1 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFB

    oklch(88.5% 0.05 261.5)

  4. Step 300

    300

    #A1C1FB

    oklch(80.8% 0.09 262.1)

  5. Step 400

    400

    #6D9FF9

    oklch(70.7% 0.143 261.4)

  6. Step 500

    500

    #4684F6

    oklch(63.1% 0.183 261.3)

  7. Step 600

    600 (this color)

    #3173EF

    oklch(58.4% 0.199 261.5)

  8. Step 700

    700

    #1B57C7

    oklch(49% 0.185 261.5)

  9. Step 800

    800

    #1948A1

    oklch(42.7% 0.153 261.6)

  10. Step 900

    900

    #1A3E80

    oklch(37.8% 0.119 261.3)

  11. Step 950

    950

    #10254B

    oklch(27.1% 0.076 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#3173EF 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)#1782F30.037
Deuteranopia (no green cones)#0071ED0.021
Tritanopia (no blue cones)#0091A60.153
Achromatopsia (no color)#7979790.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #3173EF

    #3173EF

    oklch(58.4% 0.199 261.5)

  • #9F7300

    #9F7300

    oklch(58.4% 0.12 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3173EF

    #3173EF

    oklch(58.4% 0.199 261.5)

  • #0087B5

    #0087B5

    oklch(58.5% 0.118 231.3)

  • #815CE5

    #815CE5

    oklch(58.4% 0.198 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #3173EF

    #3173EF

    oklch(58.4% 0.199 261.5)

  • #BF5B00

    #BF5B00

    oklch(58.4% 0.152 51.3)

  • #7F8200

    #7F8200

    oklch(58.4% 0.129 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3173EF

    #3173EF

    oklch(58.4% 0.199 261.5)

  • #D83543

    #D83543

    oklch(58.4% 0.198 21.6)

  • #199500

    #199500

    oklch(58.3% 0.194 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3173EF

    #3173EF

    oklch(58.4% 0.199 261.5)

  • #CC3789

    #CC3789

    oklch(58.4% 0.199 351.4)

  • #9F7300

    #9F7300

    oklch(58.4% 0.12 81.8)

  • #009173

    #009173

    oklch(58.5% 0.114 171.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3173EF.

Similar named colors

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

Use #3173EF 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.