#627CE4#627CE4
#627CE4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.159 H 270.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #627CE4 |
|---|---|
| RGB | rgb(98, 124, 228) |
| HSL | hsl(228, 71%, 64%) |
| HSV | hsv(228, 57%, 89%) |
| CMYK | cmyk(57%, 45.6%, 0%, 10.6%) |
| CIE-LAB | lab(54.67, 20.97, -55.85) |
| CIE-LCH | lch(54.67, 59.66, 290.58°) |
| OKLab | oklab(61.69% 0.0016 -0.1592) |
| OKLCH | oklch(61.69% 0.159 270.6) |
| XYZ | xyz(26.2436, 22.6114, 76.3652) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.27
Soft Blue
#6488EA
ΔE00 4.07
Lightish Blue
#3D7AFD
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 4.82
Dodger Blue
#3E82FC
ΔE00 5.59
Clear Blue
#247AFD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627CE4 #E4CA62
analogous
#62BDE4 #627CE4 #8962E4
triadic
#627CE4 #E4627C #7CE462
tetradic
#627CE4 #E462BD #E4CA62 #62E489
square
#627CE4 #E462BD #E4CA62 #62E489
split-complementary
#627CE4 #E48962 #BDE462
monochromatic
#1E3BAE #2E50DB #627CE4 #96A8ED #CAD3F6
Accessibility & contrast
On white
3.80
#627CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#627CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627CE4
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627CE4 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#397DE2
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #627ce4; /* rgb */ color: rgb(98, 124, 228); /* oklch */ color: oklch(61.7% 0.159 270.6);
Tailwind
colors: {
custom: {
50: '#98a1ed',
500: '#627ce4',
950: '#000000',
},
}SCSS
$custom: #627ce4; $custom-light: #98a1ed; $custom-dark: #000000;
JSON
{
"hex": "#627ce4",
"rgb": {
"r": 98,
"g": 124,
"b": 228
},
"hsl": {
"h": 228,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.61693,
"c": 0.15926,
"h": 270.6
},
"luminance": 0.22613
}Semantic roles & 50–950 ramp
primary
#627CE4
secondary
#E8DFBA
accent
#AC13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84