#627AED#627AED
#627AED is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.174 H 271.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #627AED |
|---|---|
| RGB | rgb(98, 122, 237) |
| HSL | hsl(230, 79%, 66%) |
| HSV | hsv(230, 59%, 93%) |
| CMYK | cmyk(58.6%, 48.5%, 0%, 7.1%) |
| CIE-LAB | lab(54.69, 25.12, -60.85) |
| CIE-LCH | lch(54.69, 65.83, 292.43°) |
| OKLab | oklab(61.88% 0.0048 -0.174) |
| OKLCH | oklch(61.88% 0.174 271.6) |
| XYZ | xyz(27.2775, 22.6280, 83.0345) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.07
Lightish Blue
#3D7AFD
ΔE00 4.36
Soft Blue
#6488EA
ΔE00 4.72
Cornflower Blue
#5170D7
ΔE00 5.03
Dodger Blue
#3E82FC
ΔE00 5.87
Clear Blue
#247AFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627AED #EDD562
analogous
#62C0ED #627AED #8F62ED
triadic
#627AED #ED627A #7AED62
tetradic
#627AED #ED62C0 #EDD562 #62ED8F
square
#627AED #ED62C0 #EDD562 #62ED8F
split-complementary
#627AED #ED8F62 #C0ED62
monochromatic
#1633BF #2B4BE7 #627AED #99A9F3 #D0D7FA
Accessibility & contrast
On white
3.80
#627AED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#627AED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627AED
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627AED | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #627aed; /* rgb */ color: rgb(98, 122, 237); /* oklch */ color: oklch(61.9% 0.174 271.6);
Tailwind
colors: {
custom: {
50: '#9aa0f3',
500: '#627aed',
950: '#000000',
},
}SCSS
$custom: #627aed; $custom-light: #9aa0f3; $custom-dark: #000000;
JSON
{
"hex": "#627aed",
"rgb": {
"r": 98,
"g": 122,
"b": 237
},
"hsl": {
"h": 229.64,
"s": 79.429,
"l": 65.686
},
"oklch": {
"l": 0.61878,
"c": 0.17404,
"h": 271.6
},
"luminance": 0.2263
}Semantic roles & 50–950 ramp
primary
#627AED
secondary
#EDE5BE
accent
#B70ADC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85