#6871DF

Closest named color: Cornflower (#6A79F7). oklch(59.6% 0.165 276.6), rgb(104, 113, 223).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.165)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.01:1
White text4.18:1

Values

HEX#6871DF
RGBrgb(104, 113, 223)
HSLhsl(235, 65%, 64%)
OKLCHoklch(59.6% 0.165 276.6)

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 #6871DF 4.18:1 AA large text Lc -74.1 Content text, not long reading
Black text on #6871DF 5.01:1 AA Lc 35.5 Non-text elements, placeholder text
#6871DF text on white 4.18:1 AA large text Lc 68.6 Content text, not long reading
#6871DF text on black 5.01:1 AA Lc -33.0 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

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D1D7F7

    oklch(88.5% 0.044 277.1)

  4. Step 300

    300

    #B3BDF5

    oklch(81% 0.08 276.6)

  5. Step 400

    400

    #8C98F0

    oklch(70.7% 0.129 276.7)

  6. Step 500

    500 (this color)

    #6871DF

    oklch(59.6% 0.165 276.6)

  7. Step 600

    600

    #5C62D9

    oklch(55.6% 0.179 276.7)

  8. Step 700

    700

    #4C50BC

    oklch(49% 0.167 276.7)

  9. Step 800

    800

    #3E4298

    oklch(42.6% 0.138 276.8)

  10. Step 900

    900

    #343979

    oklch(37.6% 0.107 276.6)

  11. Step 950

    950

    #1E2247

    oklch(27% 0.068 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#6871DF 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)#3B81E30.056
Deuteranopia (no green cones)#2C77DD0.060
Tritanopia (no blue cones)#30899D0.145
Achromatopsia (no color)#7C7C7C0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #6871DF

    #6871DF

    oklch(59.6% 0.165 276.6)

  • #947E00

    #947E00

    oklch(59.6% 0.123 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6871DF

    #6871DF

    oklch(59.6% 0.165 276.6)

  • #0084D5

    #0084D5

    oklch(59.6% 0.155 246.6)

  • #995FCB

    #995FCB

    oklch(59.6% 0.166 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #6871DF

    #6871DF

    oklch(59.6% 0.165 276.6)

  • #B36C00

    #B36C00

    oklch(59.6% 0.133 66.1)

  • #678E00

    #678E00

    oklch(59.5% 0.153 126.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6871DF

    #6871DF

    oklch(59.6% 0.165 276.6)

  • #CE522E

    #CE522E

    oklch(59.6% 0.165 36.6)

  • #00975B

    #00975B

    oklch(59.5% 0.142 156.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6871DF

    #6871DF

    oklch(59.6% 0.165 276.6)

  • #CC4B6F

    #CC4B6F

    oklch(59.6% 0.165 6.5)

  • #947E00

    #947E00

    oklch(59.6% 0.123 96.8)

  • #009389

    #009389

    oklch(59.7% 0.105 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6871DF 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.