#6762E6#6762E6
#6762E6 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.3% C 0.194 H 280.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6762E6 |
|---|---|
| RGB | rgb(103, 98, 230) |
| HSL | hsl(242, 73%, 64%) |
| HSV | hsv(242, 57%, 90%) |
| CMYK | cmyk(55.2%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(48.67, 38.31, -66.61) |
| CIE-LCH | lch(48.67, 76.85, 299.90°) |
| OKLab | oklab(57.31% 0.0338 -0.191) |
| OKLCH | oklch(57.31% 0.194 280) |
| XYZ | xyz(24.2397, 17.3305, 76.9154) |
| Luminance | 0.1733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.14
Mediumslateblue
#7B68EE
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 5.39
Iris
#6258C4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6762E6 #E1E662
analogous
#629FE6 #6762E6 #A962E6
triadic
#6762E6 #E66762 #62E667
tetradic
#6762E6 #E6629F #E1E662 #62E6A9
square
#6762E6 #E6629F #E1E662 #62E6A9
split-complementary
#6762E6 #E6A962 #9FE662
monochromatic
#221CB1 #342DDE #6762E6 #9A97EE #CDCCF7
Accessibility & contrast
On white
4.70
#6762E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#6762E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6762E6
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6762E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6762E6 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#26819B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6762e6; /* rgb */ color: rgb(103, 98, 230); /* oklch */ color: oklch(57.3% 0.194 280.0);
Tailwind
colors: {
custom: {
50: '#9d8fef',
500: '#6762e6',
950: '#000000',
},
}SCSS
$custom: #6762e6; $custom-light: #9d8fef; $custom-dark: #000000;
JSON
{
"hex": "#6762e6",
"rgb": {
"r": 103,
"g": 98,
"b": 230
},
"hsl": {
"h": 242.273,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.5731,
"c": 0.19399,
"h": 280
},
"luminance": 0.17332
}Semantic roles & 50–950 ramp
primary
#6762E6
secondary
#E7E9BB
accent
#D511CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84