#6158EB

Closest named color: Neon Blue (#4361EE). oklch(55.6% 0.214 279.6), rgb(97, 88, 235).

Aa

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

About this color

#6158EB is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.214 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.039 away. White text reads best on it, at 5.11:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.10:1
White text5.11:1

Values

HEX#6158EB
RGBrgb(97, 88, 235)
HSLhsl(244, 79%, 63%)
OKLCHoklch(55.6% 0.214 279.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 #6158EB 5.11:1 AA Lc -80.1 Fine for body text
Black text on #6158EB 4.10:1 AA large text Lc 29.3 Dividers and decoration only
#6158EB text on white 5.11:1 AA Lc 74.8 Content text, not long reading
#6158EB text on black 4.10:1 AA large text Lc -27.0 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B3BAFE

    oklch(80.8% 0.096 279.5)

  5. Step 400

    400

    #8E93FE

    oklch(70.6% 0.155 279.6)

  6. Step 500

    500

    #7674FC

    oklch(63.1% 0.197 279.8)

  7. Step 600

    600 (this color)

    #6158EB

    oklch(55.6% 0.214 279.6)

  8. Step 700

    700

    #5147CC

    oklch(49.1% 0.198 279.6)

  9. Step 800

    800

    #423BA5

    oklch(42.7% 0.165 279.8)

  10. Step 900

    900

    #373483

    oklch(37.6% 0.129 279.9)

  11. Step 950

    950

    #20204D

    oklch(27.2% 0.081 279.6)

Export this scale for Tailwind in the Tailwind colors tool

#6158EB 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)#0073F00.084
Deuteranopia (no green cones)#0068E80.077
Tritanopia (no blue cones)#007D990.183
Achromatopsia (no color)#6E6E6E0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #6158EB

    #6158EB

    oklch(55.6% 0.214 279.6)

  • #847400

    #847400

    oklch(55.7% 0.116 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6158EB

    #6158EB

    oklch(55.6% 0.214 279.6)

  • #0076C9

    #0076C9

    oklch(55.6% 0.155 249.4)

  • #9840CE

    #9840CE

    oklch(55.5% 0.213 309.5)

Open the analogous palette in the generator

Split complementary

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

  • #6158EB

    #6158EB

    oklch(55.6% 0.214 279.6)

  • #A06400

    #A06400

    oklch(55.6% 0.121 69.2)

  • #568300

    #568300

    oklch(55.6% 0.149 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6158EB

    #6158EB

    oklch(55.6% 0.214 279.6)

  • #C34200

    #C34200

    oklch(55.6% 0.175 39.8)

  • #008958

    #008958

    oklch(55.6% 0.127 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6158EB

    #6158EB

    oklch(55.6% 0.214 279.6)

  • #D11557

    #D11557

    oklch(55.6% 0.214 9.7)

  • #847400

    #847400

    oklch(55.7% 0.116 99.7)

  • #00857F

    #00857F

    oklch(55.6% 0.096 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6158EB 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.