#627AE8#627AE8
#627AE8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.167 H 271.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #627AE8 |
|---|---|
| RGB | rgb(98, 122, 232) |
| HSL | hsl(229, 74%, 65%) |
| HSV | hsv(229, 58%, 91%) |
| CMYK | cmyk(57.8%, 47.4%, 0%, 9%) |
| CIE-LAB | lab(54.39, 23.49, -58.54) |
| CIE-LCH | lch(54.39, 63.08, 291.86°) |
| OKLab | oklab(61.55% 0.0042 -0.1672) |
| OKLCH | oklch(61.55% 0.167 271.4) |
| XYZ | xyz(26.5572, 22.3399, 79.2408) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.58
Lightish Blue
#3D7AFD
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 4.64
Soft Blue
#6488EA
ΔE00 4.71
Dodger Blue
#3E82FC
ΔE00 5.96
Clear Blue
#247AFD
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AE8 #E8D062
analogous
#62BDE8 #627AE8 #8D62E8
triadic
#627AE8 #E8627A #7AE862
tetradic
#627AE8 #E862BD #E8D062 #62E88D
square
#627AE8 #E862BD #E8D062 #62E88D
split-complementary
#627AE8 #E88D62 #BDE862
monochromatic
#1B36B5 #2D4DE0 #627AE8 #97A7F0 #CDD4F8
Accessibility & contrast
On white
3.84
#627AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#627AE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AE8
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AE8 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4488EC
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #627ae8; /* rgb */ color: rgb(98, 122, 232); /* oklch */ color: oklch(61.6% 0.167 271.4);
Tailwind
colors: {
custom: {
50: '#99a0f0',
500: '#627ae8',
950: '#000000',
},
}SCSS
$custom: #627ae8; $custom-light: #99a0f0; $custom-dark: #000000;
JSON
{
"hex": "#627ae8",
"rgb": {
"r": 98,
"g": 122,
"b": 232
},
"hsl": {
"h": 229.254,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.61552,
"c": 0.16723,
"h": 271.4
},
"luminance": 0.22342
}Semantic roles & 50–950 ramp
primary
#627AE8
secondary
#EAE2BC
accent
#B30FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85