#3172EA

Closest named color: Cerulean Blue (#056EEE). oklch(57.9% 0.194 261.3), rgb(49, 114, 234).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.194)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.72:1
White text4.44:1

Values

HEX#3172EA
RGBrgb(49, 114, 234)
HSLhsl(219, 81%, 55%)
OKLCHoklch(57.9% 0.194 261.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 #3172EA 4.44:1 AA large text Lc -75.8 Fine for body text
Black text on #3172EA 4.72:1 AA Lc 33.8 Non-text elements, placeholder text
#3172EA text on white 4.44:1 AA large text Lc 70.3 Content text, not long reading
#3172EA text on black 4.72:1 AA Lc -31.4 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

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A1C1FA

    oklch(80.8% 0.088 261.8)

  5. Step 400

    400

    #6E9FF7

    oklch(70.6% 0.14 261.4)

  6. Step 500

    500

    #4884F3

    oklch(63% 0.178 261.4)

  7. Step 600

    600 (this color)

    #3172EA

    oklch(57.9% 0.194 261.3)

  8. Step 700

    700

    #1D58C5

    oklch(49.1% 0.181 261.4)

  9. Step 800

    800

    #1A499F

    oklch(42.7% 0.149 261.2)

  10. Step 900

    900

    #1B3E7E

    oklch(37.7% 0.116 261.2)

  11. Step 950

    950

    #11254A

    oklch(27.1% 0.074 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#3172EA 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)#1E80EE0.035
Deuteranopia (no green cones)#0070E80.022
Tritanopia (no blue cones)#008FA30.150
Achromatopsia (no color)#7878780.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #3172EA

    #3172EA

    oklch(57.9% 0.194 261.3)

  • #9D7100

    #9D7100

    oklch(57.8% 0.119 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3172EA

    #3172EA

    oklch(57.9% 0.194 261.3)

  • #0085B2

    #0085B2

    oklch(57.8% 0.117 231.1)

  • #7F5CE1

    #7F5CE1

    oklch(57.9% 0.193 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #3172EA

    #3172EA

    oklch(57.9% 0.194 261.3)

  • #BD5A00

    #BD5A00

    oklch(57.9% 0.15 51.3)

  • #7D8000

    #7D8000

    oklch(57.8% 0.127 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3172EA

    #3172EA

    oklch(57.9% 0.194 261.3)

  • #D43644

    #D43644

    oklch(57.8% 0.194 21.2)

  • #1C9300

    #1C9300

    oklch(57.8% 0.191 141.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3172EA

    #3172EA

    oklch(57.9% 0.194 261.3)

  • #C83887

    #C83887

    oklch(57.8% 0.194 351.3)

  • #9D7100

    #9D7100

    oklch(57.8% 0.119 81.4)

  • #008F71

    #008F71

    oklch(57.9% 0.113 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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