#6A6CEB

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.6% 0.187 278.4), rgb(106, 108, 235).

Aa

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

About this color

#6A6CEB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.187 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.026 away. Black text reads best on it, at 4.95:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.187)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.95:1
White text4.23:1

Values

HEX#6A6CEB
RGBrgb(106, 108, 235)
HSLhsl(239, 76%, 67%)
OKLCHoklch(59.6% 0.187 278.4)

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 #6A6CEB 4.23:1 AA large text Lc -74.4 Content text, not long reading
Black text on #6A6CEB 4.95:1 AA Lc 35.2 Non-text elements, placeholder text
#6A6CEB text on white 4.23:1 AA large text Lc 68.9 Content text, not long reading
#6A6CEB text on black 4.95:1 AA Lc -32.7 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

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D1D7FB

    oklch(88.6% 0.05 277.9)

  4. Step 300

    300

    #B3BBFC

    oklch(80.9% 0.092 278.7)

  5. Step 400

    400

    #8D95FA

    oklch(70.7% 0.147 278.5)

  6. Step 500

    500 (this color)

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  7. Step 600

    600

    #5E5CE6

    oklch(55.6% 0.203 278.1)

  8. Step 700

    700

    #4F4AC8

    oklch(49.1% 0.189 278.6)

  9. Step 800

    800

    #403EA2

    oklch(42.8% 0.157 278.3)

  10. Step 900

    900

    #353680

    oklch(37.6% 0.122 278.2)

  11. Step 950

    950

    #1F204B

    oklch(26.9% 0.078 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#6A6CEB 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)#1980EF0.077
Deuteranopia (no green cones)#0076E80.078
Tritanopia (no blue cones)#2889A10.163
Achromatopsia (no color)#7B7B7B0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A6CEB

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  • #937F00

    #937F00

    oklch(59.7% 0.123 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A6CEB

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  • #0083DA

    #0083DA

    oklch(59.7% 0.162 248.4)

  • #9F58D3

    #9F58D3

    oklch(59.7% 0.188 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #6A6CEB

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  • #B16E00

    #B16E00

    oklch(59.7% 0.131 68.4)

  • #639000

    #639000

    oklch(59.8% 0.157 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A6CEB

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  • #D6490F

    #D6490F

    oklch(59.6% 0.187 38.5)

  • #00975F

    #00975F

    oklch(59.6% 0.138 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A6CEB

    #6A6CEB

    oklch(59.6% 0.187 278.4)

  • #D53F69

    #D53F69

    oklch(59.6% 0.187 8.3)

  • #937F00

    #937F00

    oklch(59.7% 0.123 98.1)

  • #00938B

    #00938B

    oklch(59.8% 0.104 188)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6A6CEB.

Similar named colors

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

Use #6A6CEB 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.