#6298FA#6298FA
#6298FA is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.7% C 0.156 H 261.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6298FA |
|---|---|
| RGB | rgb(98, 152, 250) |
| HSL | hsl(219, 94%, 68%) |
| HSV | hsv(219, 61%, 98%) |
| CMYK | cmyk(60.8%, 39.2%, 0%, 2%) |
| CIE-LAB | lab(63.30, 11.41, -54.26) |
| CIE-LCH | lch(63.30, 55.45, 281.88°) |
| OKLab | oklab(68.72% -0.0233 -0.1543) |
| OKLCH | oklch(68.72% 0.156 261.4) |
| XYZ | xyz(33.5145, 31.9523, 94.8252) |
| Luminance | 0.3196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.54
Dark Sky Blue
#448EE4
ΔE00 5.37
Dodgerblue
#1E90FF
ΔE00 5.52
Soft Blue
#6488EA
ΔE00 5.59
Dodger Blue
#3E82FC
ΔE00 6.82
Faded Blue
#658CBB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6298FA #FAC462
analogous
#62E4FA #6298FA #7862FA
triadic
#6298FA #FA6298 #98FA62
tetradic
#6298FA #FA62E4 #FAC462 #62FA78
square
#6298FA #FA62E4 #FAC462 #62FA78
split-complementary
#6298FA #FA7862 #E4FA62
monochromatic
#0752DB #2771F8 #6298FA #9DBFFC #D9E6FE
Accessibility & contrast
On white
2.84
#6298FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#6298FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6298FA
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6298FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6298FA | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #6298fa; /* rgb */ color: rgb(98, 152, 250); /* oklch */ color: oklch(68.7% 0.156 261.4);
Tailwind
colors: {
custom: {
50: '#9bb5fc',
500: '#6298fa',
950: '#000000',
},
}SCSS
$custom: #6298fa; $custom-light: #9bb5fc; $custom-dark: #000000;
JSON
{
"hex": "#6298fa",
"rgb": {
"r": 98,
"g": 152,
"b": 250
},
"hsl": {
"h": 218.684,
"s": 93.827,
"l": 68.235
},
"oklch": {
"l": 0.6872,
"c": 0.15603,
"h": 261.4
},
"luminance": 0.31955
}Semantic roles & 50–950 ramp
primary
#6298FA
secondary
#F3E3C5
accent
#9400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085