#626CE2#626CE2
#626CE2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.177 H 275.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #626CE2 |
|---|---|
| RGB | rgb(98, 108, 226) |
| HSL | hsl(235, 69%, 64%) |
| HSV | hsv(235, 57%, 89%) |
| CMYK | cmyk(56.6%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(50.47, 30.08, -61.48) |
| CIE-LCH | lch(50.47, 68.44, 296.07°) |
| OKLab | oklab(58.47% 0.018 -0.176) |
| OKLCH | oklch(58.47% 0.177 275.8) |
| XYZ | xyz(24.1226, 18.8111, 74.2965) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.00
Royal Blue
#4169E1
ΔE00 4.69
Mediumslateblue
#7B68EE
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.15
Cornflower
#6A79F7
ΔE00 5.15
Bright Blue
#0165FC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626CE2 #E2D862
analogous
#62ACE2 #626CE2 #9862E2
triadic
#626CE2 #E2626C #6CE262
tetradic
#626CE2 #E262AC #E2D862 #62E298
square
#626CE2 #E262AC #E2D862 #62E298
split-complementary
#626CE2 #E29862 #ACE262
monochromatic
#1F2AAA #2E3CD8 #626CE2 #969CEC #C9CDF5
Accessibility & contrast
On white
4.41
#626CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#626CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #626CE2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##626CE2 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#277EE6
Deuteranopia (green-blind)
#0273E0
Tritanopia (blue-blind)
#12879D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #626ce2; /* rgb */ color: rgb(98, 108, 226); /* oklch */ color: oklch(58.5% 0.177 275.8);
Tailwind
colors: {
custom: {
50: '#9996ec',
500: '#626ce2',
950: '#000000',
},
}SCSS
$custom: #626ce2; $custom-light: #9996ec; $custom-dark: #000000;
JSON
{
"hex": "#626ce2",
"rgb": {
"r": 98,
"g": 108,
"b": 226
},
"hsl": {
"h": 235.313,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.58471,
"c": 0.17688,
"h": 275.8
},
"luminance": 0.18813
}Semantic roles & 50–950 ramp
primary
#626CE2
secondary
#E7E3B9
accent
#C215D1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84