#6398F7#6398F7
#6398F7 is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.152 H 261.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6398F7 |
|---|---|
| RGB | rgb(99, 152, 247) |
| HSL | hsl(219, 90%, 68%) |
| HSV | hsv(219, 60%, 97%) |
| CMYK | cmyk(59.9%, 38.5%, 0%, 3.1%) |
| CIE-LAB | lab(63.20, 10.62, -52.79) |
| CIE-LCH | lch(63.20, 53.85, 281.37°) |
| OKLab | oklab(68.6% -0.0231 -0.1499) |
| OKLCH | oklch(68.6% 0.152 261.2) |
| XYZ | xyz(33.1565, 31.8216, 92.3725) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.33
Dark Sky Blue
#448EE4
ΔE00 5.27
Soft Blue
#6488EA
ΔE00 5.49
Dodgerblue
#1E90FF
ΔE00 5.53
Dodger Blue
#3E82FC
ΔE00 6.82
Faded Blue
#658CBB
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6398F7 #F7C263
analogous
#63E2F7 #6398F7 #7863F7
triadic
#6398F7 #F76398 #98F763
tetradic
#6398F7 #F763E2 #F7C263 #63F778
square
#6398F7 #F763E2 #F7C263 #63F778
split-complementary
#6398F7 #F77863 #E2F763
monochromatic
#0B53D5 #2972F4 #6398F7 #9DBEFA #D7E5FD
Accessibility & contrast
On white
2.85
#6398F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#6398F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6398F7
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6398F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6398F7 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #6398f7; /* rgb */ color: rgb(99, 152, 247); /* oklch */ color: oklch(68.6% 0.152 261.2);
Tailwind
colors: {
custom: {
50: '#9bb5fa',
500: '#6398f7',
950: '#000000',
},
}SCSS
$custom: #6398f7; $custom-light: #9bb5fa; $custom-dark: #000000;
JSON
{
"hex": "#6398f7",
"rgb": {
"r": 99,
"g": 152,
"b": 247
},
"hsl": {
"h": 218.514,
"s": 90.244,
"l": 67.843
},
"oklch": {
"l": 0.68599,
"c": 0.15171,
"h": 261.2
},
"luminance": 0.31825
}Semantic roles & 50–950 ramp
primary
#6398F7
secondary
#F2E1C4
accent
#9300E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085