#6781E8#6781E8
#6781E8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.157 H 270.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6781E8 |
|---|---|
| RGB | rgb(103, 129, 232) |
| HSL | hsl(228, 74%, 66%) |
| HSV | hsv(228, 56%, 91%) |
| CMYK | cmyk(55.6%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(56.49, 20.24, -55.15) |
| CIE-LCH | lch(56.49, 58.75, 290.15°) |
| OKLab | oklab(63.24% 0.0019 -0.157) |
| OKLCH | oklch(63.24% 0.157 270.7) |
| XYZ | xyz(28.0045, 24.4082, 79.5638) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.65
Cornflower
#6A79F7
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 5.01
Dodger Blue
#3E82FC
ΔE00 5.32
Faded Blue
#658CBB
ΔE00 6.40
Clear Blue
#247AFD
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6781E8 #E8CE67
analogous
#67C1E8 #6781E8 #8D67E8
triadic
#6781E8 #E86781 #81E867
tetradic
#6781E8 #E867C1 #E8CE67 #67E88D
square
#6781E8 #E867C1 #E8CE67 #67E88D
split-complementary
#6781E8 #E88D67 #C1E867
monochromatic
#1C3CB9 #3255E0 #6781E8 #9CADF0 #D1D9F8
Accessibility & contrast
On white
3.57
#6781E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#6781E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6781E8
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6781E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6781E8 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538DEC
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#1898A9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #6781e8; /* rgb */ color: rgb(103, 129, 232); /* oklch */ color: oklch(63.2% 0.157 270.7);
Tailwind
colors: {
custom: {
50: '#9ba5f0',
500: '#6781e8',
950: '#000000',
},
}SCSS
$custom: #6781e8; $custom-light: #9ba5f0; $custom-dark: #000000;
JSON
{
"hex": "#6781e8",
"rgb": {
"r": 103,
"g": 129,
"b": 232
},
"hsl": {
"h": 227.907,
"s": 73.714,
"l": 65.686
},
"oklch": {
"l": 0.63236,
"c": 0.15705,
"h": 270.7
},
"luminance": 0.2441
}Semantic roles & 50–950 ramp
primary
#6781E8
secondary
#EBE2C0
accent
#AE10D6
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F16
muted
#7F7F84