#627AEE#627AEE
#627AEE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.175 H 271.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #627AEE |
|---|---|
| RGB | rgb(98, 122, 238) |
| HSL | hsl(230, 80%, 66%) |
| HSV | hsv(230, 59%, 93%) |
| CMYK | cmyk(58.8%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(54.75, 25.45, -61.31) |
| CIE-LCH | lch(54.75, 66.38, 292.54°) |
| OKLab | oklab(61.94% 0.0049 -0.1753) |
| OKLCH | oklch(61.94% 0.175 271.6) |
| XYZ | xyz(27.4240, 22.6866, 83.8061) |
| Luminance | 0.2269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.98
Lightish Blue
#3D7AFD
ΔE00 4.34
Soft Blue
#6488EA
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 5.11
Dodger Blue
#3E82FC
ΔE00 5.86
Clear Blue
#247AFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AEE #EED662
analogous
#62C0EE #627AEE #9062EE
triadic
#627AEE #EE627A #7AEE62
tetradic
#627AEE #EE62C0 #EED662 #62EE90
square
#627AEE #EE62C0 #EED662 #62EE90
split-complementary
#627AEE #EE9062 #C0EE62
monochromatic
#1532C1 #2B4BE8 #627AEE #99A9F4 #D0D8FA
Accessibility & contrast
On white
3.79
#627AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#627AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AEE
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AEE | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E89F2
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #627aee; /* rgb */ color: rgb(98, 122, 238); /* oklch */ color: oklch(61.9% 0.175 271.6);
Tailwind
colors: {
custom: {
50: '#9aa0f4',
500: '#627aee',
950: '#000000',
},
}SCSS
$custom: #627aee; $custom-light: #9aa0f4; $custom-dark: #000000;
JSON
{
"hex": "#627aee",
"rgb": {
"r": 98,
"g": 122,
"b": 238
},
"hsl": {
"h": 229.714,
"s": 80.46,
"l": 65.882
},
"oklch": {
"l": 0.61944,
"c": 0.17539,
"h": 271.6
},
"luminance": 0.22689
}Semantic roles & 50–950 ramp
primary
#627AEE
secondary
#EDE5BF
accent
#B809DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85