#627ED8#627ED8
#627ED8 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.140 H 269.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #627ED8 |
|---|---|
| RGB | rgb(98, 126, 216) |
| HSL | hsl(226, 60%, 62%) |
| HSV | hsv(226, 55%, 85%) |
| CMYK | cmyk(54.6%, 41.7%, 0%, 15.3%) |
| CIE-LAB | lab(54.53, 15.89, -49.34) |
| CIE-LCH | lch(54.53, 51.83, 287.85°) |
| OKLab | oklab(61.37% -0.0025 -0.1401) |
| OKLCH | oklch(61.37% 0.14 269) |
| XYZ | xyz(24.8884, 22.4744, 67.9789) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.93
Cornflower
#6A79F7
ΔE00 4.88
Cornflower Blue
#5170D7
ΔE00 4.98
Lightish Blue
#3D7AFD
ΔE00 5.20
Dodger Blue
#3E82FC
ΔE00 5.75
Faded Blue
#658CBB
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627ED8 #D8BC62
analogous
#62B9D8 #627ED8 #8162D8
triadic
#627ED8 #D8627E #7ED862
tetradic
#627ED8 #D862B9 #D8BC62 #62D881
square
#627ED8 #D862B9 #D8BC62 #62D881
split-complementary
#627ED8 #D88162 #B9D862
monochromatic
#264199 #3256CA #627ED8 #93A6E4 #C4CFF0
Accessibility & contrast
On white
3.82
#627ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#627ED8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627ED8
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627ED8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627ED8 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5888DB
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#2092A0
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #627ed8; /* rgb */ color: rgb(98, 126, 216); /* oklch */ color: oklch(61.4% 0.140 269.0);
Tailwind
colors: {
custom: {
50: '#97a3e4',
500: '#627ed8',
950: '#000000',
},
}SCSS
$custom: #627ed8; $custom-light: #97a3e4; $custom-dark: #000000;
JSON
{
"hex": "#627ed8",
"rgb": {
"r": 98,
"g": 126,
"b": 216
},
"hsl": {
"h": 225.763,
"s": 60.204,
"l": 61.569
},
"oklch": {
"l": 0.61366,
"c": 0.14014,
"h": 269
},
"luminance": 0.22476
}Semantic roles & 50–950 ramp
primary
#627ED8
secondary
#E1D6B5
accent
#9F1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0F16
muted
#7E7E84