#6266E1

Closest named color: Dark Periwinkle (#665FD1). oklch(57.3% 0.183 277.5), rgb(98, 102, 225).

Aa

White text reads best on this color (4.65:1).

About this color

#6266E1 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.183 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.028 away. White text reads best on it, at 4.65:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.183)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.50:1
White text4.65:1

Values

HEX#6266E1
RGBrgb(98, 102, 225)
HSLhsl(238, 68%, 63%)
OKLCHoklch(57.3% 0.183 277.5)

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 #6266E1 4.65:1 AA Lc -77.5 Fine for body text
Black text on #6266E1 4.50:1 AA Lc 32.1 Non-text elements, placeholder text
#6266E1 text on white 4.65:1 AA Lc 72.0 Content text, not long reading
#6266E1 text on black 4.50:1 AA Lc -29.7 Dividers and decoration only

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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300

    #B3BCF6

    oklch(80.9% 0.083 277.5)

  5. Step 400

    400

    #8D97F2

    oklch(70.6% 0.133 277.7)

  6. Step 500

    500

    #737BED

    oklch(63.2% 0.169 277.4)

  7. Step 600

    600 (this color)

    #6266E1

    oklch(57.3% 0.183 277.5)

  8. Step 700

    700

    #4E4FBE

    oklch(49.1% 0.17 277.7)

  9. Step 800

    800

    #3F419A

    oklch(42.6% 0.142 277.5)

  10. Step 900

    900

    #35387A

    oklch(37.6% 0.11 277.7)

  11. Step 950

    950

    #1F2248

    oklch(27.1% 0.07 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#6266E1 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)#0D7AE50.074
Deuteranopia (no green cones)#006FDE0.072
Tritanopia (no blue cones)#17839A0.160
Achromatopsia (no color)#7474740.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #6266E1

    #6266E1

    oklch(57.3% 0.183 277.5)

  • #8C7800

    #8C7800

    oklch(57.4% 0.118 97.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6266E1

    #6266E1

    oklch(57.3% 0.183 277.5)

  • #007CCC

    #007CCC

    oklch(57.2% 0.152 247.6)

  • #9652CA

    #9652CA

    oklch(57.3% 0.184 307.7)

Open the analogous palette in the generator

Split complementary

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

  • #6266E1

    #6266E1

    oklch(57.3% 0.183 277.5)

  • #A86700

    #A86700

    oklch(57.2% 0.126 67.5)

  • #5F8700

    #5F8700

    oklch(57.2% 0.149 127.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6266E1

    #6266E1

    oklch(57.3% 0.183 277.5)

  • #CD420E

    #CD420E

    oklch(57.3% 0.184 37.4)

  • #008F58

    #008F58

    oklch(57.2% 0.134 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6266E1

    #6266E1

    oklch(57.3% 0.183 277.5)

  • #CB3964

    #CB3964

    oklch(57.3% 0.184 7.6)

  • #8C7800

    #8C7800

    oklch(57.4% 0.118 97.5)

  • #008B83

    #008B83

    oklch(57.4% 0.1 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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