#6173E1

Closest named color: Cornflower (#6A79F7). oklch(59.7% 0.167 273.3), rgb(97, 115, 225).

Aa

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

About this color

#6173E1 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.167 and its hue 273°. 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 5.04:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.167)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.04:1
White text4.16:1

Values

HEX#6173E1
RGBrgb(97, 115, 225)
HSLhsl(232, 68%, 63%)
OKLCHoklch(59.7% 0.167 273.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 #6173E1 4.16:1 AA large text Lc -73.9 Content text, not long reading
Black text on #6173E1 5.04:1 AA Lc 35.7 Non-text elements, placeholder text
#6173E1 text on white 4.16:1 AA large text Lc 68.4 Content text, not long reading
#6173E1 text on black 5.04:1 AA Lc -33.3 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

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CFD8F8

    oklch(88.5% 0.045 273)

  4. Step 300

    300

    #AFBEF6

    oklch(81% 0.081 272.8)

  5. Step 400

    400

    #869AF2

    oklch(70.8% 0.131 272.9)

  6. Step 500

    500 (this color)

    #6173E1

    oklch(59.7% 0.167 273.3)

  7. Step 600

    600

    #5464DB

    oklch(55.6% 0.181 273.2)

  8. Step 700

    700

    #4552BE

    oklch(49.1% 0.168 273.3)

  9. Step 800

    800

    #39449A

    oklch(42.8% 0.14 273.5)

  10. Step 900

    900

    #303A7A

    oklch(37.6% 0.109 273.4)

  11. Step 950

    950

    #1C2348

    oklch(27.1% 0.069 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#6173E1 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)#3B82E50.048
Deuteranopia (no green cones)#2677DF0.053
Tritanopia (no blue cones)#088C9F0.149
Achromatopsia (no color)#7C7C7C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #6173E1

    #6173E1

    oklch(59.7% 0.167 273.3)

  • #987D00

    #987D00

    oklch(59.8% 0.122 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6173E1

    #6173E1

    oklch(59.7% 0.167 273.3)

  • #0086CE

    #0086CE

    oklch(59.6% 0.145 243.4)

  • #9461CF

    #9461CF

    oklch(59.6% 0.166 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #6173E1

    #6173E1

    oklch(59.7% 0.167 273.3)

  • #B66A00

    #B66A00

    oklch(59.6% 0.136 63.4)

  • #6F8C00

    #6F8C00

    oklch(59.6% 0.146 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6173E1

    #6173E1

    oklch(59.7% 0.167 273.3)

  • #CF5036

    #CF5036

    oklch(59.6% 0.166 33.4)

  • #009851

    #009851

    oklch(59.6% 0.153 153.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6173E1

    #6173E1

    oklch(59.7% 0.167 273.3)

  • #CB4B75

    #CB4B75

    oklch(59.7% 0.166 3.3)

  • #987D00

    #987D00

    oklch(59.8% 0.122 93.7)

  • #009385

    #009385

    oklch(59.6% 0.106 183.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6173E1 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.