#6786CE#6786CE
#6786CE is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.8% C 0.115 H 265.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6786CE |
|---|---|
| RGB | rgb(103, 134, 206) |
| HSL | hsl(222, 51%, 61%) |
| HSV | hsv(222, 50%, 81%) |
| CMYK | cmyk(50%, 35%, 0%, 19.2%) |
| CIE-LAB | lab(56.47, 9.06, -40.60) |
| CIE-LCH | lch(56.47, 41.60, 282.58°) |
| OKLab | oklab(62.78% -0.0089 -0.1144) |
| OKLCH | oklch(62.78% 0.115 265.5) |
| XYZ | xyz(25.2555, 24.3883, 61.7571) |
| Luminance | 0.2439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.32
Faded Blue
#658CBB
ΔE00 3.80
Dodger Blue
#3E82FC
ΔE00 6.08
Dusty Blue
#5A86AD
ΔE00 6.14
Cornflowerblue
#6495ED
ΔE00 6.16
Off Blue
#5684AE
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6786CE #CEAF67
analogous
#67B9CE #6786CE #7B67CE
triadic
#6786CE #CE6786 #86CE67
tetradic
#6786CE #CE67B9 #CEAF67 #67CE7B
square
#6786CE #CE67B9 #CEAF67 #67CE7B
split-complementary
#6786CE #CE7B67 #B9CE67
monochromatic
#2D4A8D #3C63BB #6786CE #95ABDD #C4D0EC
Accessibility & contrast
On white
3.57
#6786CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#6786CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6786CE
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6786CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6786CE | 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)
#6A8CD1
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#3A95A0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #6786ce; /* rgb */ color: rgb(103, 134, 206); /* oklch */ color: oklch(62.8% 0.115 265.5);
Tailwind
colors: {
custom: {
50: '#98a8dd',
500: '#6786ce',
950: '#000000',
},
}SCSS
$custom: #6786ce; $custom-light: #98a8dd; $custom-dark: #000000;
JSON
{
"hex": "#6786ce",
"rgb": {
"r": 103,
"g": 134,
"b": 206
},
"hsl": {
"h": 221.942,
"s": 51.244,
"l": 60.588
},
"oklch": {
"l": 0.62779,
"c": 0.11478,
"h": 265.5
},
"luminance": 0.2439
}Semantic roles & 50–950 ramp
primary
#6786CE
secondary
#DCD0B5
accent
#9127BF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83