#6870E5

Closest named color: Cornflower (#6A79F7). oklch(59.8% 0.174 276.8), rgb(104, 112, 229).

Aa

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

About this color

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

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

Values

HEX#6870E5
RGBrgb(104, 112, 229)
HSLhsl(236, 71%, 65%)
OKLCHoklch(59.8% 0.174 276.8)

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 #6870E5 4.16:1 AA large text Lc -73.9 Content text, not long reading
Black text on #6870E5 5.03:1 AA Lc 35.6 Non-text elements, placeholder text
#6870E5 text on white 4.16:1 AA large text Lc 68.4 Content text, not long reading
#6870E5 text on black 5.03:1 AA Lc -33.2 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7F9

    oklch(88.5% 0.047 276.2)

  4. Step 300

    300

    #B2BCF8

    oklch(80.9% 0.086 277)

  5. Step 400

    400

    #8B97F4

    oklch(70.6% 0.136 276.7)

  6. Step 500

    500 (this color)

    #6870E5

    oklch(59.8% 0.174 276.8)

  7. Step 600

    600

    #5C60DF

    oklch(55.7% 0.189 276.9)

  8. Step 700

    700

    #4C4EC2

    oklch(49.1% 0.177 276.9)

  9. Step 800

    800

    #3E419C

    oklch(42.7% 0.145 276.9)

  10. Step 900

    900

    #34387C

    oklch(37.6% 0.113 276.9)

  11. Step 950

    950

    #1E2149

    oklch(26.9% 0.073 277.1)

Export this scale for Tailwind in the Tailwind colors tool

#6870E5 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)#3181E90.062
Deuteranopia (no green cones)#1C77E30.067
Tritanopia (no blue cones)#288AA00.152
Achromatopsia (no color)#7C7C7C0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #6870E5

    #6870E5

    oklch(59.8% 0.174 276.8)

  • #957F00

    #957F00

    oklch(59.9% 0.123 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6870E5

    #6870E5

    oklch(59.8% 0.174 276.8)

  • #0085D7

    #0085D7

    oklch(59.9% 0.157 246.7)

  • #9B5DCF

    #9B5DCF

    oklch(59.8% 0.174 307)

Open the analogous palette in the generator

Split complementary

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

  • #6870E5

    #6870E5

    oklch(59.8% 0.174 276.8)

  • #B36D00

    #B36D00

    oklch(59.8% 0.132 66.8)

  • #678F00

    #678F00

    oklch(59.8% 0.154 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6870E5

    #6870E5

    oklch(59.8% 0.174 276.8)

  • #D24F27

    #D24F27

    oklch(59.8% 0.174 36.9)

  • #00985B

    #00985B

    oklch(59.8% 0.143 156.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6870E5

    #6870E5

    oklch(59.8% 0.174 276.8)

  • #D0476E

    #D0476E

    oklch(59.8% 0.174 6.8)

  • #957F00

    #957F00

    oklch(59.9% 0.123 96.9)

  • #00938A

    #00938A

    oklch(59.7% 0.104 187.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6870E5 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.