#6398FC#6398FC
#6398FC is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.158 H 262.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6398FC |
|---|---|
| RGB | rgb(99, 152, 252) |
| HSL | hsl(219, 96%, 69%) |
| HSV | hsv(219, 61%, 99%) |
| CMYK | cmyk(60.7%, 39.7%, 0%, 1.2%) |
| CIE-LAB | lab(63.45, 12.25, -55.12) |
| CIE-LCH | lch(63.45, 56.46, 282.53°) |
| OKLab | oklab(68.88% -0.022 -0.1568) |
| OKLCH | oklch(68.88% 0.158 262) |
| XYZ | xyz(33.9384, 32.1344, 96.4906) |
| Luminance | 0.3214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.69
Soft Blue
#6488EA
ΔE00 5.55
Dark Sky Blue
#448EE4
ΔE00 5.63
Dodgerblue
#1E90FF
ΔE00 5.77
Dodger Blue
#3E82FC
ΔE00 6.86
Faded Blue
#658CBB
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6398FC #FCC763
analogous
#63E4FC #6398FC #7B63FC
triadic
#6398FC #FC6398 #98FC63
tetradic
#6398FC #FC63E4 #FCC763 #63FC7B
square
#6398FC #FC63E4 #FCC763 #63FC7B
split-complementary
#6398FC #FC7B63 #E4FC63
monochromatic
#0451E0 #2770FB #6398FC #9FC0FD #DBE7FE
Accessibility & contrast
On white
2.83
#6398FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#6398FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6398FC
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6398FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6398FC | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #6398fc; /* rgb */ color: rgb(99, 152, 252); /* oklch */ color: oklch(68.9% 0.158 262.0);
Tailwind
colors: {
custom: {
50: '#9bb5fe',
500: '#6398fc',
950: '#000000',
},
}SCSS
$custom: #6398fc; $custom-light: #9bb5fe; $custom-dark: #000000;
JSON
{
"hex": "#6398fc",
"rgb": {
"r": 99,
"g": 152,
"b": 252
},
"hsl": {
"h": 219.216,
"s": 96.226,
"l": 68.824
},
"oklch": {
"l": 0.68883,
"c": 0.1583,
"h": 262
},
"luminance": 0.32137
}Semantic roles & 50–950 ramp
primary
#6398FC
secondary
#F4E4C7
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086