#628AFB#628AFB
#628AFB is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.173 H 267.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #628AFB |
|---|---|
| RGB | rgb(98, 138, 251) |
| HSL | hsl(224, 95%, 68%) |
| HSV | hsv(224, 61%, 98%) |
| CMYK | cmyk(61%, 45%, 0%, 1.6%) |
| CIE-LAB | lab(59.65, 20.06, -60.64) |
| CIE-LCH | lch(59.65, 63.87, 288.30°) |
| OKLab | oklab(65.93% -0.0092 -0.1732) |
| OKLCH | oklch(65.93% 0.173 267) |
| XYZ | xyz(31.5321, 27.7359, 94.9400) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.97
Cornflowerblue
#6495ED
ΔE00 4.03
Dodger Blue
#3E82FC
ΔE00 4.20
Lightish Blue
#3D7AFD
ΔE00 5.60
Cornflower
#6A79F7
ΔE00 6.15
Faded Blue
#658CBB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628AFB #FBD362
analogous
#62D6FB #628AFB #8662FB
triadic
#628AFB #FB628A #8AFB62
tetradic
#628AFB #FB62D6 #FBD362 #62FB86
square
#628AFB #FB62D6 #FBD362 #62FB86
split-complementary
#628AFB #FB8662 #D6FB62
monochromatic
#063EDD #265EF9 #628AFB #9EB6FD #D9E3FE
Accessibility & contrast
On white
3.21
#628AFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#628AFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628AFB
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628AFB | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#3B89F9
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #628afb; /* rgb */ color: rgb(98, 138, 251); /* oklch */ color: oklch(65.9% 0.173 267.0);
Tailwind
colors: {
custom: {
50: '#9babfd',
500: '#628afb',
950: '#000000',
},
}SCSS
$custom: #628afb; $custom-light: #9babfd; $custom-dark: #000000;
JSON
{
"hex": "#628afb",
"rgb": {
"r": 98,
"g": 138,
"b": 251
},
"hsl": {
"h": 224.314,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.65925,
"c": 0.17341,
"h": 267
},
"luminance": 0.27739
}Semantic roles & 50–950 ramp
primary
#628AFB
secondary
#F3E7C5
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86