#6298EA#6298EA
#6298EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.8% C 0.135 H 258.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6298EA |
|---|---|
| RGB | rgb(98, 152, 234) |
| HSL | hsl(216, 76%, 65%) |
| HSV | hsv(216, 58%, 92%) |
| CMYK | cmyk(58.1%, 35%, 0%, 8.2%) |
| CIE-LAB | lab(62.50, 6.22, -46.74) |
| CIE-LCH | lch(62.50, 47.15, 277.58°) |
| OKLab | oklab(67.83% -0.0269 -0.1323) |
| OKLCH | oklch(67.83% 0.135 258.5) |
| XYZ | xyz(31.1113, 30.9910, 82.1683) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.37
Dark Sky Blue
#448EE4
ΔE00 4.34
Dodgerblue
#1E90FF
ΔE00 4.91
Soft Blue
#6488EA
ΔE00 5.68
Faded Blue
#658CBB
ΔE00 6.13
Dodger Blue
#3E82FC
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6298EA #EAB462
analogous
#62DCEA #6298EA #7062EA
triadic
#6298EA #EA6298 #98EA62
tetradic
#6298EA #EA62DC #EAB462 #62EA70
square
#6298EA #EA62DC #EAB462 #62EA70
split-complementary
#6298EA #EA7062 #DCEA62
monochromatic
#1958B9 #2C75E3 #6298EA #98BBF1 #CEDFF8
Accessibility & contrast
On white
2.92
#6298EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#6298EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6298EA
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6298EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6298EA | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #6298ea; /* rgb */ color: rgb(98, 152, 234); /* oklch */ color: oklch(67.8% 0.135 258.5);
Tailwind
colors: {
custom: {
50: '#99b5f1',
500: '#6298ea',
950: '#000000',
},
}SCSS
$custom: #6298ea; $custom-light: #99b5f1; $custom-dark: #000000;
JSON
{
"hex": "#6298ea",
"rgb": {
"r": 98,
"g": 152,
"b": 234
},
"hsl": {
"h": 216.176,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.67834,
"c": 0.13499,
"h": 258.5
},
"luminance": 0.30994
}Semantic roles & 50–950 ramp
primary
#6298EA
secondary
#EBD9BD
accent
#880DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085