#6781EA#6781EA
#6781EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.160 H 270.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6781EA |
|---|---|
| RGB | rgb(103, 129, 234) |
| HSL | hsl(228, 76%, 66%) |
| HSV | hsv(228, 56%, 92%) |
| CMYK | cmyk(56%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(56.61, 20.88, -56.09) |
| CIE-LCH | lch(56.61, 59.84, 290.42°) |
| OKLab | oklab(63.36% 0.0022 -0.1598) |
| OKLCH | oklch(63.36% 0.16 270.8) |
| XYZ | xyz(28.2902, 24.5225, 81.0685) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.66
Cornflower
#6A79F7
ΔE00 3.39
Lightish Blue
#3D7AFD
ΔE00 4.95
Dodger Blue
#3E82FC
ΔE00 5.28
Clear Blue
#247AFD
ΔE00 6.45
Faded Blue
#658CBB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6781EA #EAD067
analogous
#67C2EA #6781EA #8E67EA
triadic
#6781EA #EA6781 #81EA67
tetradic
#6781EA #EA67C2 #EAD067 #67EA8E
square
#6781EA #EA67C2 #EAD067 #67EA8E
split-complementary
#6781EA #EA8E67 #C2EA67
monochromatic
#1A3ABD #3154E3 #6781EA #9DAEF1 #D3DAF9
Accessibility & contrast
On white
3.56
#6781EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#6781EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6781EA
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6781EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6781EA | 1.00 | 3.56 | 5.91 | 5.91 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#1398AA
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #6781ea; /* rgb */ color: rgb(103, 129, 234); /* oklch */ color: oklch(63.4% 0.160 270.8);
Tailwind
colors: {
custom: {
50: '#9ca5f1',
500: '#6781ea',
950: '#000000',
},
}SCSS
$custom: #6781ea; $custom-light: #9ca5f1; $custom-dark: #000000;
JSON
{
"hex": "#6781ea",
"rgb": {
"r": 103,
"g": 129,
"b": 234
},
"hsl": {
"h": 228.092,
"s": 75.723,
"l": 66.078
},
"oklch": {
"l": 0.63359,
"c": 0.1598,
"h": 270.8
},
"luminance": 0.24525
}Semantic roles & 50–950 ramp
primary
#6781EA
secondary
#ECE3C1
accent
#B00ED8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85