#627AE7#627AE7
#627AE7 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.166 H 271.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #627AE7 |
|---|---|
| RGB | rgb(98, 122, 231) |
| HSL | hsl(229, 73%, 65%) |
| HSV | hsv(229, 58%, 91%) |
| CMYK | cmyk(57.6%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(54.33, 23.16, -58.08) |
| CIE-LCH | lch(54.33, 62.53, 291.74°) |
| OKLab | oklab(61.49% 0.0041 -0.1658) |
| OKLCH | oklch(61.49% 0.166 271.4) |
| XYZ | xyz(26.4156, 22.2832, 78.4949) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.69
Lightish Blue
#3D7AFD
ΔE00 4.55
Cornflower Blue
#5170D7
ΔE00 4.57
Soft Blue
#6488EA
ΔE00 4.71
Dodger Blue
#3E82FC
ΔE00 5.98
Clear Blue
#247AFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AE7 #E7CF62
analogous
#62BDE7 #627AE7 #8D62E7
triadic
#627AE7 #E7627A #7AE762
tetradic
#627AE7 #E762BD #E7CF62 #62E78D
square
#627AE7 #E762BD #E7CF62 #62E78D
split-complementary
#627AE7 #E78D62 #BDE762
monochromatic
#1B37B3 #2D4DDF #627AE7 #97A7EF #CCD4F7
Accessibility & contrast
On white
3.85
#627AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#627AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AE7
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AE7 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#317CE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #627ae7; /* rgb */ color: rgb(98, 122, 231); /* oklch */ color: oklch(61.5% 0.166 271.4);
Tailwind
colors: {
custom: {
50: '#99a0ef',
500: '#627ae7',
950: '#000000',
},
}SCSS
$custom: #627ae7; $custom-light: #99a0ef; $custom-dark: #000000;
JSON
{
"hex": "#627ae7",
"rgb": {
"r": 98,
"g": 122,
"b": 231
},
"hsl": {
"h": 229.173,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.61488,
"c": 0.16587,
"h": 271.4
},
"luminance": 0.22285
}Semantic roles & 50–950 ramp
primary
#627AE7
secondary
#E9E1BB
accent
#B210D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84