#6762DC#6762DC
#6762DC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.6% C 0.181 H 280.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6762DC |
|---|---|
| RGB | rgb(103, 98, 220) |
| HSL | hsl(242, 64%, 62%) |
| HSV | hsv(242, 55%, 86%) |
| CMYK | cmyk(53.2%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(47.99, 35.20, -62.07) |
| CIE-LCH | lch(47.99, 71.36, 299.56°) |
| OKLab | oklab(56.58% 0.0338 -0.1776) |
| OKLCH | oklch(56.58% 0.181 280.8) |
| XYZ | xyz(22.8755, 16.7849, 69.7307) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.87
Slate Blue
#6A5ACD
ΔE00 3.49
Light Indigo
#6D5ACF
ΔE00 3.49
Mediumslateblue
#7B68EE
ΔE00 4.68
Iris
#6258C4
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6762DC #D7DC62
analogous
#629ADC #6762DC #A462DC
triadic
#6762DC #DC6762 #62DC67
tetradic
#6762DC #DC629A #D7DC62 #62DCA4
square
#6762DC #DC629A #D7DC62 #62DCA4
split-complementary
#6762DC #DCA462 #9ADC62
monochromatic
#2924A0 #3730D1 #6762DC #9794E7 #C8C6F2
Accessibility & contrast
On white
4.82
#6762DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#6762DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6762DC
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6762DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6762DC | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0976E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#337E95
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6762dc; /* rgb */ color: rgb(103, 98, 220); /* oklch */ color: oklch(56.6% 0.181 280.8);
Tailwind
colors: {
custom: {
50: '#9b8fe8',
500: '#6762dc',
950: '#000000',
},
}SCSS
$custom: #6762dc; $custom-light: #9b8fe8; $custom-dark: #000000;
JSON
{
"hex": "#6762dc",
"rgb": {
"r": 103,
"g": 98,
"b": 220
},
"hsl": {
"h": 242.459,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.56584,
"c": 0.18083,
"h": 280.8
},
"luminance": 0.16786
}Semantic roles & 50–950 ramp
primary
#6762DC
secondary
#E1E3B7
accent
#CB1AC4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84