#628DEC

Closest named color: Soft Blue (#6488EA). oklch(65.6% 0.15 264.3), rgb(98, 141, 236).

Aa

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

About this color

#628DEC is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.150 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.013 away. Black text reads best on it, at 6.54:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.150)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.54:1
White text3.21:1

Values

HEX#628DEC
RGBrgb(98, 141, 236)
HSLhsl(221, 78%, 65%)
OKLCHoklch(65.6% 0.15 264.3)

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 #628DEC 3.21:1 AA large text Lc -64.5 Content text, not long reading
Black text on #628DEC 6.54:1 AA Lc 44.9 Non-text elements, placeholder text
#628DEC text on white 3.21:1 AA large text Lc 59.1 Large or bold text, headings
#628DEC text on black 6.54:1 AA Lc -42.6 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #A9C1F1

    oklch(81% 0.073 264)

  5. Step 400

    400

    #7C9FEA

    oklch(70.7% 0.117 264.5)

  6. Step 500

    500 (this color)

    #628DEC

    oklch(65.6% 0.15 264.3)

  7. Step 600

    600

    #416DD1

    oklch(55.6% 0.162 264)

  8. Step 700

    700

    #345AB5

    oklch(49.1% 0.151 264.5)

  9. Step 800

    800

    #2B4A93

    oklch(42.7% 0.126 264.4)

  10. Step 900

    900

    #273F75

    oklch(37.8% 0.097 264.3)

  11. Step 950

    950

    #172544

    oklch(27% 0.061 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#628DEC 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)#6496F00.024
Deuteranopia (no green cones)#518AEA0.020
Tritanopia (no blue cones)#00A2B10.131
Achromatopsia (no color)#9090900.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #628DEC

    #628DEC

    oklch(65.6% 0.15 264.3)

  • #B78900

    #B78900

    oklch(65.7% 0.135 84.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #628DEC

    #628DEC

    oklch(65.6% 0.15 264.3)

  • #009DD8

    #009DD8

    oklch(65.6% 0.138 234.3)

  • #987CE2

    #987CE2

    oklch(65.6% 0.149 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #628DEC

    #628DEC

    oklch(65.6% 0.15 264.3)

  • #D57424

    #D57424

    oklch(65.7% 0.149 54.5)

  • #909A00

    #909A00

    oklch(65.6% 0.148 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #628DEC

    #628DEC

    oklch(65.6% 0.15 264.3)

  • #DE6762

    #DE6762

    oklch(65.7% 0.15 24.5)

  • #4FA852

    #4FA852

    oklch(65.6% 0.15 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #628DEC

    #628DEC

    oklch(65.6% 0.15 264.3)

  • #D56697

    #D56697

    oklch(65.7% 0.149 354.3)

  • #B78900

    #B78900

    oklch(65.7% 0.135 84.7)

  • #00A98C

    #00A98C

    oklch(65.6% 0.124 174.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #628DEC 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.