#6398EA#6398EA
#6398EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.135 H 258.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6398EA |
|---|---|
| RGB | rgb(99, 152, 234) |
| HSL | hsl(216, 76%, 65%) |
| HSV | hsv(216, 58%, 92%) |
| CMYK | cmyk(57.7%, 35%, 0%, 8.2%) |
| CIE-LAB | lab(62.55, 6.42, -46.66) |
| CIE-LCH | lch(62.55, 47.10, 277.83°) |
| OKLab | oklab(67.88% -0.026 -0.132) |
| OKLCH | oklch(67.88% 0.135 258.8) |
| XYZ | xyz(31.2199, 31.0470, 82.1734) |
| Luminance | 0.3105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.25
Dark Sky Blue
#448EE4
ΔE00 4.46
Dodgerblue
#1E90FF
ΔE00 5.06
Soft Blue
#6488EA
ΔE00 5.59
Faded Blue
#658CBB
ΔE00 6.12
Dodger Blue
#3E82FC
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6398EA #EAB563
analogous
#63DCEA #6398EA #7163EA
triadic
#6398EA #EA6398 #98EA63
tetradic
#6398EA #EA63DC #EAB563 #63EA71
square
#6398EA #EA63DC #EAB563 #63EA71
split-complementary
#6398EA #EA7163 #DCEA63
monochromatic
#1958BA #2D74E3 #6398EA #99BCF1 #CFDFF9
Accessibility & contrast
On white
2.91
#6398EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#6398EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6398EA
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6398EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6398EA | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 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: #6398ea; /* rgb */ color: rgb(99, 152, 234); /* oklch */ color: oklch(67.9% 0.135 258.8);
Tailwind
colors: {
custom: {
50: '#99b5f1',
500: '#6398ea',
950: '#000000',
},
}SCSS
$custom: #6398ea; $custom-light: #99b5f1; $custom-dark: #000000;
JSON
{
"hex": "#6398ea",
"rgb": {
"r": 99,
"g": 152,
"b": 234
},
"hsl": {
"h": 216.444,
"s": 76.271,
"l": 65.294
},
"oklch": {
"l": 0.67884,
"c": 0.13459,
"h": 258.8
},
"luminance": 0.3105
}Semantic roles & 50–950 ramp
primary
#6398EA
secondary
#EBD9BE
accent
#890DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085