#6171E2

Closest named color: Cornflower (#6A79F7). oklch(59.4% 0.171 274), rgb(97, 113, 226).

Aa

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

About this color

#6171E2 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.171 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.038 away. Black text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.171)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text4.96:1
White text4.22:1

Values

HEX#6171E2
RGBrgb(97, 113, 226)
HSLhsl(233, 69%, 63%)
OKLCHoklch(59.4% 0.171 274)

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 #6171E2 4.22:1 AA large text Lc -74.4 Content text, not long reading
Black text on #6171E2 4.96:1 AA Lc 35.2 Non-text elements, placeholder text
#6171E2 text on white 4.22:1 AA large text Lc 68.9 Content text, not long reading
#6171E2 text on black 4.96:1 AA Lc -32.8 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 500.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AFBDF7

    oklch(80.8% 0.084 273.9)

  5. Step 400

    400

    #8799F3

    oklch(70.7% 0.133 273.9)

  6. Step 500

    500 (this color)

    #6171E2

    oklch(59.4% 0.171 274)

  7. Step 600

    600

    #5563DD

    oklch(55.6% 0.185 273.8)

  8. Step 700

    700

    #4651C0

    oklch(49.1% 0.172 273.9)

  9. Step 800

    800

    #39439B

    oklch(42.7% 0.142 273.8)

  10. Step 900

    900

    #313A7C

    oklch(37.8% 0.111 274)

  11. Step 950

    950

    #1C2248

    oklch(26.9% 0.07 274)

Export this scale for Tailwind in the Tailwind colors tool

#6171E2 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)#3581E60.053
Deuteranopia (no green cones)#1E76E00.058
Tritanopia (no blue cones)#058B9F0.152
Achromatopsia (no color)#7B7B7B0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #6171E2

    #6171E2

    oklch(59.4% 0.171 274)

  • #967C00

    #967C00

    oklch(59.3% 0.122 94.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6171E2

    #6171E2

    oklch(59.4% 0.171 274)

  • #0085CE

    #0085CE

    oklch(59.4% 0.146 243.9)

  • #955FCF

    #955FCF

    oklch(59.4% 0.17 304)

Open the analogous palette in the generator

Split complementary

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

  • #6171E2

    #6171E2

    oklch(59.4% 0.171 274)

  • #B46A00

    #B46A00

    oklch(59.4% 0.134 64.3)

  • #6C8C00

    #6C8C00

    oklch(59.4% 0.148 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6171E2

    #6171E2

    oklch(59.4% 0.171 274)

  • #D04D31

    #D04D31

    oklch(59.3% 0.171 33.7)

  • #009753

    #009753

    oklch(59.4% 0.149 154.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6171E2

    #6171E2

    oklch(59.4% 0.171 274)

  • #CC4873

    #CC4873

    oklch(59.4% 0.17 3.8)

  • #967C00

    #967C00

    oklch(59.3% 0.122 94.2)

  • #009285

    #009285

    oklch(59.3% 0.105 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6171E2 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.