#627BC7#627BC7
#627BC7 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.8% C 0.120 H 268.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #627BC7 |
|---|---|
| RGB | rgb(98, 123, 199) |
| HSL | hsl(225, 47%, 58%) |
| HSV | hsv(225, 51%, 78%) |
| CMYK | cmyk(50.8%, 38.2%, 0%, 22%) |
| CIE-LAB | lab(52.82, 12.31, -42.41) |
| CIE-LCH | lch(52.82, 44.16, 286.19°) |
| OKLab | oklab(59.76% -0.0025 -0.1199) |
| OKLCH | oklch(59.76% 0.12 268.8) |
| XYZ | xyz(22.4254, 20.8846, 56.8712) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.55
Soft Blue
#6488EA
ΔE00 6.10
Faded Blue
#658CBB
ΔE00 6.46
Cornflower
#6A79F7
ΔE00 6.59
Off Blue
#5684AE
ΔE00 6.79
Lightish Blue
#3D7AFD
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#627BC7 #C7AE62
analogous
#62ADC7 #627BC7 #7B62C7
triadic
#627BC7 #C7627B #7BC762
tetradic
#627BC7 #C762AD #C7AE62 #62C77B
square
#627BC7 #C762AD #C7AE62 #62C77B
split-complementary
#627BC7 #C77B62 #ADC762
monochromatic
#2E4281 #3E5AAE #627BC7 #8FA1D7 #BCC7E7
Accessibility & contrast
On white
4.06
#627BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#627BC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #627BC7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##627BC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##627BC7 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#358B97
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #627bc7; /* rgb */ color: rgb(98, 123, 199); /* oklch */ color: oklch(59.8% 0.120 268.8);
Tailwind
colors: {
custom: {
50: '#95a0d8',
500: '#627bc7',
950: '#000000',
},
}SCSS
$custom: #627bc7; $custom-light: #95a0d8; $custom-dark: #000000;
JSON
{
"hex": "#627bc7",
"rgb": {
"r": 98,
"g": 123,
"b": 199
},
"hsl": {
"h": 225.149,
"s": 47.418,
"l": 58.235
},
"oklch": {
"l": 0.59763,
"c": 0.1199,
"h": 268.8
},
"luminance": 0.20886
}Semantic roles & 50–950 ramp
primary
#627BC7
secondary
#D7CDAE
accent
#B651D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83