#627BEA#627BEA
#627BEA is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.169 H 271.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #627BEA |
|---|---|
| RGB | rgb(98, 123, 234) |
| HSL | hsl(229, 76%, 65%) |
| HSV | hsv(229, 58%, 92%) |
| CMYK | cmyk(58.1%, 47.4%, 0%, 8.2%) |
| CIE-LAB | lab(54.76, 23.53, -59.05) |
| CIE-LCH | lch(54.76, 63.57, 291.73°) |
| OKLab | oklab(61.88% 0.0035 -0.1687) |
| OKLCH | oklch(61.88% 0.169 271.2) |
| XYZ | xyz(26.9663, 22.7010, 80.7866) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.50
Lightish Blue
#3D7AFD
ΔE00 4.34
Soft Blue
#6488EA
ΔE00 4.36
Cornflower Blue
#5170D7
ΔE00 4.98
Dodger Blue
#3E82FC
ΔE00 5.67
Clear Blue
#247AFD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627BEA #EAD162
analogous
#62BFEA #627BEA #8D62EA
triadic
#627BEA #EA627B #7BEA62
tetradic
#627BEA #EA62BF #EAD162 #62EA8D
square
#627BEA #EA62BF #EAD162 #62EA8D
split-complementary
#627BEA #EA8D62 #BFEA62
monochromatic
#1936B9 #2C4EE3 #627BEA #98A8F1 #CED6F8
Accessibility & contrast
On white
3.79
#627BEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#627BEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627BEA
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627BEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627BEA | 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)
#4489EE
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #627bea; /* rgb */ color: rgb(98, 123, 234); /* oklch */ color: oklch(61.9% 0.169 271.2);
Tailwind
colors: {
custom: {
50: '#99a0f1',
500: '#627bea',
950: '#000000',
},
}SCSS
$custom: #627bea; $custom-light: #99a0f1; $custom-dark: #000000;
JSON
{
"hex": "#627bea",
"rgb": {
"r": 98,
"g": 123,
"b": 234
},
"hsl": {
"h": 228.971,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.61877,
"c": 0.16872,
"h": 271.2
},
"luminance": 0.22703
}Semantic roles & 50–950 ramp
primary
#627BEA
secondary
#EBE2BD
accent
#B30DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85