#627AE6#627AE6
#627AE6 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.165 H 271.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #627AE6 |
|---|---|
| RGB | rgb(98, 122, 230) |
| HSL | hsl(229, 73%, 64%) |
| HSV | hsv(229, 57%, 90%) |
| CMYK | cmyk(57.4%, 47%, 0%, 9.8%) |
| CIE-LAB | lab(54.27, 22.84, -57.62) |
| CIE-LCH | lch(54.27, 61.98, 291.62°) |
| OKLab | oklab(61.42% 0.004 -0.1645) |
| OKLCH | oklch(61.42% 0.165 271.4) |
| XYZ | xyz(26.2747, 22.2269, 77.7532) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.80
Cornflower Blue
#5170D7
ΔE00 4.50
Lightish Blue
#3D7AFD
ΔE00 4.59
Soft Blue
#6488EA
ΔE00 4.72
Dodger Blue
#3E82FC
ΔE00 6.01
Clear Blue
#247AFD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AE6 #E6CE62
analogous
#62BCE6 #627AE6 #8C62E6
triadic
#627AE6 #E6627A #7AE662
tetradic
#627AE6 #E662BC #E6CE62 #62E68C
square
#627AE6 #E662BC #E6CE62 #62E68C
split-complementary
#627AE6 #E68C62 #BCE662
monochromatic
#1C37B1 #2D4DDE #627AE6 #97A7EE #CCD3F7
Accessibility & contrast
On white
3.86
#627AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#627AE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AE6
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AE6 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4688EA
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #627ae6; /* rgb */ color: rgb(98, 122, 230); /* oklch */ color: oklch(61.4% 0.165 271.4);
Tailwind
colors: {
custom: {
50: '#99a0ee',
500: '#627ae6',
950: '#000000',
},
}SCSS
$custom: #627ae6; $custom-light: #99a0ee; $custom-dark: #000000;
JSON
{
"hex": "#627ae6",
"rgb": {
"r": 98,
"g": 122,
"b": 230
},
"hsl": {
"h": 229.091,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.61424,
"c": 0.1645,
"h": 271.4
},
"luminance": 0.22229
}Semantic roles & 50–950 ramp
primary
#627AE6
secondary
#E9E0BB
accent
#B111D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84