#6781EB#6781EB
#6781EB is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.4% C 0.161 H 270.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6781EB |
|---|---|
| RGB | rgb(103, 129, 235) |
| HSL | hsl(228, 77%, 66%) |
| HSV | hsv(228, 56%, 92%) |
| CMYK | cmyk(56.2%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(56.66, 21.20, -56.55) |
| CIE-LCH | lch(56.66, 60.39, 290.55°) |
| OKLab | oklab(63.42% 0.0024 -0.1611) |
| OKLCH | oklch(63.42% 0.161 270.8) |
| XYZ | xyz(28.4342, 24.5801, 81.8272) |
| Luminance | 0.2458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.67
Cornflower
#6A79F7
ΔE00 3.32
Lightish Blue
#3D7AFD
ΔE00 4.92
Dodger Blue
#3E82FC
ΔE00 5.26
Clear Blue
#247AFD
ΔE00 6.45
Faded Blue
#658CBB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6781EB #EBD167
analogous
#67C3EB #6781EB #8F67EB
triadic
#6781EB #EB6781 #81EB67
tetradic
#6781EB #EB67C3 #EBD167 #67EB8F
square
#6781EB #EB67C3 #EBD167 #67EB8F
split-complementary
#6781EB #EB8F67 #C3EB67
monochromatic
#193ABF #3154E4 #6781EB #9DAEF2 #D3DBF9
Accessibility & contrast
On white
3.55
#6781EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#6781EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6781EB
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6781EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6781EB | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#3F82E9
Tritanopia (blue-blind)
#0F99AB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #6781eb; /* rgb */ color: rgb(103, 129, 235); /* oklch */ color: oklch(63.4% 0.161 270.8);
Tailwind
colors: {
custom: {
50: '#9ca5f2',
500: '#6781eb',
950: '#000000',
},
}SCSS
$custom: #6781eb; $custom-light: #9ca5f2; $custom-dark: #000000;
JSON
{
"hex": "#6781eb",
"rgb": {
"r": 103,
"g": 129,
"b": 235
},
"hsl": {
"h": 228.182,
"s": 76.744,
"l": 66.275
},
"oklch": {
"l": 0.6342,
"c": 0.16117,
"h": 270.8
},
"luminance": 0.24582
}Semantic roles & 50–950 ramp
primary
#6781EB
secondary
#ECE4C1
accent
#B10DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85