#626FF5#626FF5
#626FF5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.198 H 274.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #626FF5 |
|---|---|
| RGB | rgb(98, 111, 245) |
| HSL | hsl(235, 88%, 67%) |
| HSV | hsv(235, 60%, 96%) |
| CMYK | cmyk(60%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(52.46, 34.40, -68.90) |
| CIE-LCH | lch(52.46, 77.01, 296.53°) |
| OKLab | oklab(60.37% 0.016 -0.1978) |
| OKLCH | oklch(60.37% 0.198 274.6) |
| XYZ | xyz(27.1975, 20.5560, 88.9030) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.21
Mediumslateblue
#7B68EE
ΔE00 4.98
Cornflower Blue
#5170D7
ΔE00 5.25
Royal Blue
#4169E1
ΔE00 5.85
Lightish Blue
#3D7AFD
ΔE00 6.42
Bright Blue
#0165FC
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626FF5 #F5E862
analogous
#62B8F5 #626FF5 #9F62F5
triadic
#626FF5 #F5626F #6FF562
tetradic
#626FF5 #F562B8 #F5E862 #62F59F
square
#626FF5 #F562B8 #F5E862 #62F59F
split-complementary
#626FF5 #F59F62 #B8F562
monochromatic
#0D1ECF #283AF1 #626FF5 #9CA4F9 #D5D9FC
Accessibility & contrast
On white
4.11
#626FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#626FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #626FF5
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##626FF5 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #626ff5; /* rgb */ color: rgb(98, 111, 245); /* oklch */ color: oklch(60.4% 0.198 274.6);
Tailwind
colors: {
custom: {
50: '#9b98f9',
500: '#626ff5',
950: '#000000',
},
}SCSS
$custom: #626ff5; $custom-light: #9b98f9; $custom-dark: #000000;
JSON
{
"hex": "#626ff5",
"rgb": {
"r": 98,
"g": 111,
"b": 245
},
"hsl": {
"h": 234.694,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.60365,
"c": 0.1984,
"h": 274.6
},
"luminance": 0.20558
}Semantic roles & 50–950 ramp
primary
#626FF5
secondary
#F1ECC2
accent
#D001E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85