#628EDA#628EDA
#628EDA is a light, vivid blue. Relative luminance 0.270; OKLCH L 64.8% C 0.124 H 260.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #628EDA |
|---|---|
| RGB | rgb(98, 142, 218) |
| HSL | hsl(218, 62%, 62%) |
| HSV | hsv(218, 55%, 85%) |
| CMYK | cmyk(55%, 34.9%, 0%, 14.5%) |
| CIE-LAB | lab(58.98, 6.97, -43.41) |
| CIE-LCH | lch(58.98, 43.97, 279.11°) |
| OKLab | oklab(64.84% -0.0199 -0.1227) |
| OKLCH | oklch(64.84% 0.124 260.8) |
| XYZ | xyz(27.3606, 27.0025, 70.0863) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.88
Soft Blue
#6488EA
ΔE00 3.07
Faded Blue
#658CBB
ΔE00 3.57
Dark Sky Blue
#448EE4
ΔE00 4.11
Dodger Blue
#3E82FC
ΔE00 5.03
Dodgerblue
#1E90FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#628EDA #DAAE62
analogous
#62CADA #628EDA #7262DA
triadic
#628EDA #DA628E #8EDA62
tetradic
#628EDA #DA62CA #DAAE62 #62DA72
square
#628EDA #DA62CA #DAAE62 #62DA72
split-complementary
#628EDA #DA7262 #CADA62
monochromatic
#25519D #316ACE #628EDA #94B2E6 #C5D5F1
Accessibility & contrast
On white
3.28
#628EDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#628EDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #628EDA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##628EDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##628EDA | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#6089D8
Tritanopia (blue-blind)
#159FAA
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #628eda; /* rgb */ color: rgb(98, 142, 218); /* oklch */ color: oklch(64.8% 0.124 260.8);
Tailwind
colors: {
custom: {
50: '#97aee6',
500: '#628eda',
950: '#000000',
},
}SCSS
$custom: #628eda; $custom-light: #97aee6; $custom-dark: #000000;
JSON
{
"hex": "#628eda",
"rgb": {
"r": 98,
"g": 142,
"b": 218
},
"hsl": {
"h": 218,
"s": 61.856,
"l": 61.961
},
"oklch": {
"l": 0.64838,
"c": 0.12428,
"h": 260.8
},
"luminance": 0.27005
}Semantic roles & 50–950 ramp
primary
#628EDA
secondary
#E2D2B6
accent
#8A1CCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84