#6862F3#6862F3
#6862F3 is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.4% C 0.211 H 279.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6862F3 |
|---|---|
| RGB | rgb(104, 98, 243) |
| HSL | hsl(242, 86%, 67%) |
| HSV | hsv(242, 60%, 95%) |
| CMYK | cmyk(57.2%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(49.67, 42.53, -72.28) |
| CIE-LCH | lch(49.67, 83.86, 300.47°) |
| OKLab | oklab(58.36% 0.0347 -0.2077) |
| OKLCH | oklch(58.36% 0.211 279.5) |
| XYZ | xyz(26.2492, 18.1477, 86.8963) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.97
Warm Blue
#4B57DB
ΔE00 6.42
Purpley
#8756E4
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6862F3 #EDF362
analogous
#62A5F3 #6862F3 #B162F3
triadic
#6862F3 #F36862 #62F368
tetradic
#6862F3 #F362A5 #EDF362 #62F3B1
square
#6862F3 #F362A5 #EDF362 #62F3B1
split-complementary
#6862F3 #F3B162 #A5F362
monochromatic
#1710CB #3129EF #6862F3 #9F9BF7 #D5D4FC
Accessibility & contrast
On white
4.54
#6862F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#6862F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6862F3
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6862F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6862F3 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#0D85A1
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6862f3; /* rgb */ color: rgb(104, 98, 243); /* oklch */ color: oklch(58.4% 0.211 279.5);
Tailwind
colors: {
custom: {
50: '#9f8ff8',
500: '#6862f3',
950: '#000000',
},
}SCSS
$custom: #6862f3; $custom-light: #9f8ff8; $custom-dark: #000000;
JSON
{
"hex": "#6862f3",
"rgb": {
"r": 104,
"g": 98,
"b": 243
},
"hsl": {
"h": 242.483,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.58359,
"c": 0.21054,
"h": 279.5
},
"luminance": 0.18149
}Semantic roles & 50–950 ramp
primary
#6862F3
secondary
#EEF0C1
accent
#E203D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85