#627AE4#627AE4
#627AE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.162 H 271.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #627AE4 |
|---|---|
| RGB | rgb(98, 122, 228) |
| HSL | hsl(229, 71%, 64%) |
| HSV | hsv(229, 57%, 89%) |
| CMYK | cmyk(57%, 46.5%, 0%, 10.6%) |
| CIE-LAB | lab(54.15, 22.19, -56.68) |
| CIE-LCH | lch(54.15, 60.87, 291.38°) |
| OKLab | oklab(61.3% 0.0037 -0.1617) |
| OKLCH | oklch(61.3% 0.162 271.3) |
| XYZ | xyz(25.9955, 22.1152, 76.2825) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.02
Cornflower Blue
#5170D7
ΔE00 4.38
Lightish Blue
#3D7AFD
ΔE00 4.68
Soft Blue
#6488EA
ΔE00 4.75
Dodger Blue
#3E82FC
ΔE00 6.07
Clear Blue
#247AFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AE4 #E4CC62
analogous
#62BBE4 #627AE4 #8B62E4
triadic
#627AE4 #E4627A #7AE462
tetradic
#627AE4 #E462BB #E4CC62 #62E48B
square
#627AE4 #E462BB #E4CC62 #62E48B
split-complementary
#627AE4 #E48B62 #BBE462
monochromatic
#1E38AE #2E4EDB #627AE4 #96A6ED #CAD2F6
Accessibility & contrast
On white
3.87
#627AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#627AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AE4
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AE4 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #627ae4; /* rgb */ color: rgb(98, 122, 228); /* oklch */ color: oklch(61.3% 0.162 271.3);
Tailwind
colors: {
custom: {
50: '#98a0ed',
500: '#627ae4',
950: '#000000',
},
}SCSS
$custom: #627ae4; $custom-light: #98a0ed; $custom-dark: #000000;
JSON
{
"hex": "#627ae4",
"rgb": {
"r": 98,
"g": 122,
"b": 228
},
"hsl": {
"h": 228.923,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.61296,
"c": 0.16176,
"h": 271.3
},
"luminance": 0.22117
}Semantic roles & 50–950 ramp
primary
#627AE4
secondary
#E8DFBA
accent
#AF13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84