#626FE5#626FE5
#626FE5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.177 H 274.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #626FE5 |
|---|---|
| RGB | rgb(98, 111, 229) |
| HSL | hsl(234, 72%, 64%) |
| HSV | hsv(234, 57%, 90%) |
| CMYK | cmyk(57.2%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(51.41, 29.22, -61.65) |
| CIE-LCH | lch(51.41, 68.22, 295.36°) |
| OKLab | oklab(59.24% 0.0151 -0.1764) |
| OKLCH | oklch(59.24% 0.177 274.9) |
| XYZ | xyz(24.8597, 19.6209, 76.5907) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.77
Cornflower
#6A79F7
ΔE00 4.12
Royal Blue
#4169E1
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 6.25
Lightish Blue
#3D7AFD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626FE5 #E5D862
analogous
#62B1E5 #626FE5 #9762E5
triadic
#626FE5 #E5626F #6FE562
tetradic
#626FE5 #E562B1 #E5D862 #62E597
square
#626FE5 #E562B1 #E5D862 #62E597
split-complementary
#626FE5 #E59762 #B1E562
monochromatic
#1D2CB0 #2D3FDC #626FE5 #979FEE #CBCFF6
Accessibility & contrast
On white
4.26
#626FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#626FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #626FE5
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##626FE5 | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C80E9
Deuteranopia (green-blind)
#0A75E3
Tritanopia (blue-blind)
#048A9F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #626fe5; /* rgb */ color: rgb(98, 111, 229); /* oklch */ color: oklch(59.2% 0.177 274.9);
Tailwind
colors: {
custom: {
50: '#9998ee',
500: '#626fe5',
950: '#000000',
},
}SCSS
$custom: #626fe5; $custom-light: #9998ee; $custom-dark: #000000;
JSON
{
"hex": "#626fe5",
"rgb": {
"r": 98,
"g": 111,
"b": 229
},
"hsl": {
"h": 234.046,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.59239,
"c": 0.17709,
"h": 274.9
},
"luminance": 0.19623
}Semantic roles & 50–950 ramp
primary
#626FE5
secondary
#E8E4BB
accent
#C012D4
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84