#628AF9#628AF9
#628AF9 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.8% C 0.171 H 266.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #628AF9 |
|---|---|
| RGB | rgb(98, 138, 249) |
| HSL | hsl(224, 93%, 68%) |
| HSV | hsv(224, 61%, 98%) |
| CMYK | cmyk(60.6%, 44.6%, 0%, 2.4%) |
| CIE-LAB | lab(59.54, 19.40, -59.72) |
| CIE-LCH | lch(59.54, 62.79, 287.99°) |
| OKLab | oklab(65.8% -0.0095 -0.1705) |
| OKLCH | oklch(65.8% 0.171 266.8) |
| XYZ | xyz(31.2185, 27.6105, 93.2884) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.77
Cornflowerblue
#6495ED
ΔE00 3.94
Dodger Blue
#3E82FC
ΔE00 4.13
Lightish Blue
#3D7AFD
ΔE00 5.57
Cornflower
#6A79F7
ΔE00 6.18
Faded Blue
#658CBB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628AF9 #F9D162
analogous
#62D5F9 #628AF9 #8562F9
triadic
#628AF9 #F9628A #8AF962
tetradic
#628AF9 #F962D5 #F9D162 #62F985
square
#628AF9 #F962D5 #F9D162 #62F985
split-complementary
#628AF9 #F98562 #D5F962
monochromatic
#083FD8 #275EF7 #628AF9 #9DB6FB #D8E2FE
Accessibility & contrast
On white
3.22
#628AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#628AF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628AF9
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628AF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628AF9 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #628af9; /* rgb */ color: rgb(98, 138, 249); /* oklch */ color: oklch(65.8% 0.171 266.8);
Tailwind
colors: {
custom: {
50: '#9babfc',
500: '#628af9',
950: '#000000',
},
}SCSS
$custom: #628af9; $custom-light: #9babfc; $custom-dark: #000000;
JSON
{
"hex": "#628af9",
"rgb": {
"r": 98,
"g": 138,
"b": 249
},
"hsl": {
"h": 224.106,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.658,
"c": 0.17073,
"h": 266.8
},
"luminance": 0.27613
}Semantic roles & 50–950 ramp
primary
#628AF9
secondary
#F2E6C4
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85