#627AFB#627AFB
#627AFB is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.8% C 0.193 H 271.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #627AFB |
|---|---|
| RGB | rgb(98, 122, 251) |
| HSL | hsl(231, 95%, 68%) |
| HSV | hsv(231, 61%, 98%) |
| CMYK | cmyk(61%, 51.4%, 0%, 1.6%) |
| CIE-LAB | lab(55.56, 29.70, -67.21) |
| CIE-LCH | lch(55.56, 73.48, 293.84°) |
| OKLab | oklab(62.82% 0.0061 -0.1927) |
| OKLCH | oklch(62.82% 0.193 271.8) |
| XYZ | xyz(29.4033, 23.4783, 94.2304) |
| Luminance | 0.2348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.37
Lightish Blue
#3D7AFD
ΔE00 4.42
Soft Blue
#6488EA
ΔE00 5.12
Dodger Blue
#3E82FC
ΔE00 5.96
Clear Blue
#247AFD
ΔE00 6.28
Cornflower Blue
#5170D7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AFB #FBE362
analogous
#62C6FB #627AFB #9662FB
triadic
#627AFB #FB627A #7AFB62
tetradic
#627AFB #FB62C6 #FBE362 #62FB96
square
#627AFB #FB62C6 #FBE362 #62FB96
split-complementary
#627AFB #FB9662 #C6FB62
monochromatic
#0627DD #2647F9 #627AFB #9EADFD #D9DFFE
Accessibility & contrast
On white
3.69
#627AFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#627AFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AFB
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AFB | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #627afb; /* rgb */ color: rgb(98, 122, 251); /* oklch */ color: oklch(62.8% 0.193 271.8);
Tailwind
colors: {
custom: {
50: '#9ca0fd',
500: '#627afb',
950: '#000000',
},
}SCSS
$custom: #627afb; $custom-light: #9ca0fd; $custom-dark: #000000;
JSON
{
"hex": "#627afb",
"rgb": {
"r": 98,
"g": 122,
"b": 251
},
"hsl": {
"h": 230.588,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.62819,
"c": 0.19278,
"h": 271.8
},
"luminance": 0.23481
}Semantic roles & 50–950 ramp
primary
#627AFB
secondary
#F3ECC5
accent
#C100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86