#627AEC#627AEC
#627AEC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.173 H 271.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #627AEC |
|---|---|
| RGB | rgb(98, 122, 236) |
| HSL | hsl(230, 78%, 65%) |
| HSV | hsv(230, 58%, 93%) |
| CMYK | cmyk(58.5%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(54.63, 24.79, -60.39) |
| CIE-LCH | lch(54.63, 65.28, 292.32°) |
| OKLab | oklab(61.81% 0.0047 -0.1726) |
| OKLCH | oklch(61.81% 0.173 271.6) |
| XYZ | xyz(27.1318, 22.5697, 82.2672) |
| Luminance | 0.2257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.17
Lightish Blue
#3D7AFD
ΔE00 4.38
Soft Blue
#6488EA
ΔE00 4.71
Cornflower Blue
#5170D7
ΔE00 4.95
Dodger Blue
#3E82FC
ΔE00 5.88
Clear Blue
#247AFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AEC #ECD462
analogous
#62BFEC #627AEC #8F62EC
triadic
#627AEC #EC627A #7AEC62
tetradic
#627AEC #EC62BF #ECD462 #62EC8F
square
#627AEC #EC62BF #ECD462 #62EC8F
split-complementary
#627AEC #EC8F62 #BFEC62
monochromatic
#1734BD #2B4CE5 #627AEC #99A8F3 #CFD6F9
Accessibility & contrast
On white
3.81
#627AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#627AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AEC
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AEC | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#287DEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #627aec; /* rgb */ color: rgb(98, 122, 236); /* oklch */ color: oklch(61.8% 0.173 271.6);
Tailwind
colors: {
custom: {
50: '#9aa0f3',
500: '#627aec',
950: '#000000',
},
}SCSS
$custom: #627aec; $custom-light: #9aa0f3; $custom-dark: #000000;
JSON
{
"hex": "#627aec",
"rgb": {
"r": 98,
"g": 122,
"b": 236
},
"hsl": {
"h": 229.565,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.61812,
"c": 0.17267,
"h": 271.6
},
"luminance": 0.22572
}Semantic roles & 50–950 ramp
primary
#627AEC
secondary
#ECE4BE
accent
#B70BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85