#628AFC
Closest named color: Soft Blue (#6488EA). oklch(66% 0.175 267), rgb(98, 138, 252).
Aa
Black text reads best on this color (6.56:1).
About this color
#628AFC is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.175 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.027 away. Black text reads best on it, at 6.56:1.
| Hue family | Blues |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.175) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.56:1 |
| White text | 3.20:1 |
Values
| HEX | #628AFC |
| RGB | rgb(98, 138, 252) |
| HSL | hsl(224, 96%, 69%) |
| OKLCH | oklch(66% 0.175 267) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #628AFC | 3.20:1 | AA large text | Lc -64.4 | Content text, not long reading |
| Black text on #628AFC | 6.56:1 | AA | Lc 45.1 | Large or bold text, headings |
| #628AFC text on white | 3.20:1 | AA large text | Lc 58.9 | Large or bold text, headings |
| #628AFC text on black | 6.56:1 | AA | Lc -42.8 | 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.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CBD9FA
oklch(88.5% 0.048 267.2)
-
Step 300
300
#A8C0F9
oklch(81% 0.085 266.8)
-
Step 400
400
#7A9CF6
oklch(70.6% 0.138 267.2)
-
Step 500
500 (this color)
#628AFC
oklch(66% 0.175 267)
-
Step 600
600
#4267E1
oklch(55.6% 0.19 267.2)
-
Step 700
700
#3455C3
oklch(49.1% 0.176 267)
-
Step 800
800
#2B469E
oklch(42.7% 0.147 267)
-
Step 900
900
#263C7D
oklch(37.7% 0.114 266.8)
-
Step 950
950
#162449
oklch(27% 0.071 266.2)
#628AFC 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5397FF | 0.033 |
| Deuteranopia (no green cones) | #3A89FA | 0.036 |
| Tritanopia (no blue cones) | #00A4B7 | 0.149 |
| Achromatopsia (no color) | #909090 | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #628AFC
#628AFC
oklch(66% 0.175 267)
- #B68B00
#B68B00
oklch(66% 0.135 86.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #628AFC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.027
- Cornflower Blue #6495ED ΔE 0.040
- Cornflower #6A79F7 ΔE 0.041
- Chefchaouen Blue #4895EF ΔE 0.042
- Dodger Blue #1E90FF ΔE 0.047
- Dark Sky Blue #448EE4 ΔE 0.049
- Lavender Blue #8B88F8 ΔE 0.051
- Periwinkle #8E82FE ΔE 0.057
Use #628AFC 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.