#6171EF

Closest named color: Cornflower (#6A79F7). oklch(60.2% 0.188 273.9), rgb(97, 113, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.188)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.11:1
White text4.10:1

Values

HEX#6171EF
RGBrgb(97, 113, 239)
HSLhsl(233, 82%, 66%)
OKLCHoklch(60.2% 0.188 273.9)

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 #6171EF 4.10:1 AA large text Lc -73.4 Content text, not long reading
Black text on #6171EF 5.11:1 AA Lc 36.2 Non-text elements, placeholder text
#6171EF text on white 4.10:1 AA large text Lc 67.9 Content text, not long reading
#6171EF text on black 5.11:1 AA Lc -33.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED7FC

    oklch(88.4% 0.052 274.5)

  4. Step 300

    300

    #AEBDFD

    oklch(81% 0.092 274)

  5. Step 400

    400

    #8598FC

    oklch(70.8% 0.147 273.9)

  6. Step 500

    500 (this color)

    #6171EF

    oklch(60.2% 0.188 273.9)

  7. Step 600

    600

    #535FE8

    oklch(55.6% 0.205 273.9)

  8. Step 700

    700

    #444DCA

    oklch(49.1% 0.191 273.8)

  9. Step 800

    800

    #3840A3

    oklch(42.7% 0.158 274.1)

  10. Step 900

    900

    #2F3881

    oklch(37.7% 0.122 273.7)

  11. Step 950

    950

    #1B214C

    oklch(26.9% 0.079 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#6171EF 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)#2184F30.063
Deuteranopia (no green cones)#0077EC0.064
Tritanopia (no blue cones)#008EA50.163
Achromatopsia (no color)#7D7D7D0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #6171EF

    #6171EF

    oklch(60.2% 0.188 273.9)

  • #997E00

    #997E00

    oklch(60.1% 0.123 93.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6171EF

    #6171EF

    oklch(60.2% 0.188 273.9)

  • #0088D2

    #0088D2

    oklch(60.3% 0.148 243.7)

  • #9A5CDA

    #9A5CDA

    oklch(60.2% 0.188 304)

Open the analogous palette in the generator

Split complementary

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

  • #6171EF

    #6171EF

    oklch(60.2% 0.188 273.9)

  • #B86C00

    #B86C00

    oklch(60.2% 0.136 63.9)

  • #6F8F00

    #6F8F00

    oklch(60.3% 0.15 123.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6171EF

    #6171EF

    oklch(60.2% 0.188 273.9)

  • #DA4827

    #DA4827

    oklch(60.3% 0.188 34.1)

  • #009A54

    #009A54

    oklch(60.2% 0.152 153.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6171EF

    #6171EF

    oklch(60.2% 0.188 273.9)

  • #D64174

    #D64174

    oklch(60.3% 0.188 4)

  • #997E00

    #997E00

    oklch(60.1% 0.123 93.8)

  • #009588

    #009588

    oklch(60.2% 0.107 184.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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