#6874EF

Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.183 275.4), rgb(104, 116, 239).

Aa

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

About this color

#6874EF is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.183 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.017 away. Black text reads best on it, at 5.33:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.183)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.33:1
White text3.93:1

Values

HEX#6874EF
RGBrgb(104, 116, 239)
HSLhsl(235, 81%, 67%)
OKLCHoklch(61.2% 0.183 275.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 #6874EF 3.93:1 AA large text Lc -72.0 Content text, not long reading
Black text on #6874EF 5.33:1 AA Lc 37.6 Non-text elements, placeholder text
#6874EF text on white 3.93:1 AA large text Lc 66.5 Content text, not long reading
#6874EF text on black 5.33:1 AA Lc -35.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #CFD7FB

    oklch(88.5% 0.05 275.4)

  4. Step 300

    300

    #B0BCFB

    oklch(80.9% 0.09 275.9)

  5. Step 400

    400

    #8897F9

    oklch(70.7% 0.144 275.5)

  6. Step 500

    500 (this color)

    #6874EF

    oklch(61.2% 0.183 275.4)

  7. Step 600

    600

    #585FE4

    oklch(55.6% 0.198 275.6)

  8. Step 700

    700

    #484DC6

    oklch(49% 0.185 275.4)

  9. Step 800

    800

    #3B40A0

    oklch(42.6% 0.153 275.5)

  10. Step 900

    900

    #32387F

    oklch(37.7% 0.118 275.5)

  11. Step 950

    950

    #1D214B

    oklch(27% 0.077 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#6874EF 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)#2F86F30.062
Deuteranopia (no green cones)#0E7BEC0.069
Tritanopia (no blue cones)#1290A60.162
Achromatopsia (no color)#8080800.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #6874EF

    #6874EF

    oklch(61.2% 0.183 275.4)

  • #9B8200

    #9B8200

    oklch(61.2% 0.126 95.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6874EF

    #6874EF

    oklch(61.2% 0.183 275.4)

  • #008ADA

    #008ADA

    oklch(61.3% 0.155 245.3)

  • #9F60DA

    #9F60DA

    oklch(61.3% 0.184 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #6874EF

    #6874EF

    oklch(61.2% 0.183 275.4)

  • #BA7000

    #BA7000

    oklch(61.2% 0.137 65.8)

  • #6E9300

    #6E9300

    oklch(61.3% 0.155 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6874EF

    #6874EF

    oklch(61.2% 0.183 275.4)

  • #DB4F2A

    #DB4F2A

    oklch(61.3% 0.182 35.5)

  • #009D5B

    #009D5B

    oklch(61.2% 0.15 155.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6874EF

    #6874EF

    oklch(61.2% 0.183 275.4)

  • #D84774

    #D84774

    oklch(61.2% 0.183 5.4)

  • #9B8200

    #9B8200

    oklch(61.2% 0.126 95.4)

  • #00988D

    #00988D

    oklch(61.1% 0.107 185.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6874EF.

Similar named colors

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

Use #6874EF 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.