#6281F5#6281F5
#6281F5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.8% C 0.176 H 269.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6281F5 |
|---|---|
| RGB | rgb(98, 129, 245) |
| HSL | hsl(227, 88%, 67%) |
| HSV | hsv(227, 60%, 96%) |
| CMYK | cmyk(60%, 47.3%, 0%, 3.9%) |
| CIE-LAB | lab(56.97, 23.50, -61.63) |
| CIE-LCH | lch(56.97, 65.96, 290.87°) |
| OKLab | oklab(63.76% -0.0012 -0.1762) |
| OKLCH | oklch(63.76% 0.176 269.6) |
| XYZ | xyz(29.3631, 24.8873, 89.6249) |
| Luminance | 0.2489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.68
Cornflower
#6A79F7
ΔE00 3.33
Lightish Blue
#3D7AFD
ΔE00 4.14
Dodger Blue
#3E82FC
ΔE00 4.44
Clear Blue
#247AFD
ΔE00 5.74
Cornflowerblue
#6495ED
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6281F5 #F5D662
analogous
#62CBF5 #6281F5 #8D62F5
triadic
#6281F5 #F56281 #81F562
tetradic
#6281F5 #F562CB #F5D662 #62F58D
square
#6281F5 #F562CB #F5D662 #62F58D
split-complementary
#6281F5 #F58D62 #CBF562
monochromatic
#0D36CF #2853F1 #6281F5 #9CAFF9 #D5DDFC
Accessibility & contrast
On white
3.51
#6281F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#6281F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6281F5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6281F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6281F5 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#2C83F3
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #6281f5; /* rgb */ color: rgb(98, 129, 245); /* oklch */ color: oklch(63.8% 0.176 269.6);
Tailwind
colors: {
custom: {
50: '#9ba5f9',
500: '#6281f5',
950: '#000000',
},
}SCSS
$custom: #6281f5; $custom-light: #9ba5f9; $custom-dark: #000000;
JSON
{
"hex": "#6281f5",
"rgb": {
"r": 98,
"g": 129,
"b": 245
},
"hsl": {
"h": 227.347,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.63764,
"c": 0.17619,
"h": 269.6
},
"luminance": 0.2489
}Semantic roles & 50–950 ramp
primary
#6281F5
secondary
#F1E7C2
accent
#B501E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85