#638AF7#638AF7
#638AF7 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.7% C 0.168 H 267.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #638AF7 |
|---|---|
| RGB | rgb(99, 138, 247) |
| HSL | hsl(224, 90%, 68%) |
| HSV | hsv(224, 60%, 97%) |
| CMYK | cmyk(59.9%, 44.1%, 0%, 3.1%) |
| CIE-LAB | lab(59.47, 18.92, -58.72) |
| CIE-LCH | lch(59.47, 61.69, 287.86°) |
| OKLab | oklab(65.73% -0.0089 -0.1675) |
| OKLCH | oklch(65.73% 0.168 267) |
| XYZ | xyz(31.0169, 27.5424, 91.6593) |
| Luminance | 0.2754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.57
Cornflowerblue
#6495ED
ΔE00 3.94
Dodger Blue
#3E82FC
ΔE00 4.21
Lightish Blue
#3D7AFD
ΔE00 5.61
Cornflower
#6A79F7
ΔE00 6.13
Faded Blue
#658CBB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#638AF7 #F7D063
analogous
#63D4F7 #638AF7 #8663F7
triadic
#638AF7 #F7638A #8AF763
tetradic
#638AF7 #F763D4 #F7D063 #63F786
square
#638AF7 #F763D4 #F7D063 #63F786
split-complementary
#638AF7 #F78663 #D4F763
monochromatic
#0B40D5 #295EF4 #638AF7 #9DB6FA #D7E1FD
Accessibility & contrast
On white
3.23
#638AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#638AF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #638AF7
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##638AF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##638AF7 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #638af7; /* rgb */ color: rgb(99, 138, 247); /* oklch */ color: oklch(65.7% 0.168 267.0);
Tailwind
colors: {
custom: {
50: '#9babfa',
500: '#638af7',
950: '#000000',
},
}SCSS
$custom: #638af7; $custom-light: #9babfa; $custom-dark: #000000;
JSON
{
"hex": "#638af7",
"rgb": {
"r": 99,
"g": 138,
"b": 247
},
"hsl": {
"h": 224.189,
"s": 90.244,
"l": 67.843
},
"oklch": {
"l": 0.6573,
"c": 0.16773,
"h": 267
},
"luminance": 0.27545
}Semantic roles & 50–950 ramp
primary
#638AF7
secondary
#F2E6C4
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85