#4246C6#4246C6
#4246C6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.195 H 274.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4246C6 |
|---|---|
| RGB | rgb(66, 70, 198) |
| HSL | hsl(238, 54%, 52%) |
| HSV | hsv(238, 67%, 78%) |
| CMYK | cmyk(66.7%, 64.6%, 0%, 22.4%) |
| CIE-LAB | lab(37.14, 38.88, -67.17) |
| CIE-LCH | lch(37.14, 77.62, 300.06°) |
| OKLab | oklab(47.4% 0.0161 -0.1938) |
| OKLCH | oklch(47.4% 0.195 274.7) |
| XYZ | xyz(14.6266, 9.6145, 54.5001) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.99
Ocean Blue
#4F42B5
ΔE00 3.23
Blue With A Hint Of Purple
#533CC6
ΔE00 3.78
Blue (survey)
#0343DF
ΔE00 4.04
Blurple
#5539CC
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4246C6 #C6C242
analogous
#4288C6 #4246C6 #8042C6
triadic
#4246C6 #C64246 #46C642
tetradic
#4246C6 #C64288 #C6C242 #42C680
square
#4246C6 #C64288 #C6C242 #42C680
split-complementary
#4246C6 #C68042 #88C642
monochromatic
#21236D #2F329C #4246C6 #7174D4 #A0A2E2
Accessibility & contrast
On white
7.18
#4246C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4246C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4246C6
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4246C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4246C6 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4246c6; /* rgb */ color: rgb(66, 70, 198); /* oklch */ color: oklch(47.4% 0.195 274.7);
Tailwind
colors: {
custom: {
50: '#867ad8',
500: '#4246c6',
950: '#000000',
},
}SCSS
$custom: #4246c6; $custom-light: #867ad8; $custom-dark: #000000;
JSON
{
"hex": "#4246c6",
"rgb": {
"r": 66,
"g": 70,
"b": 198
},
"hsl": {
"h": 238.182,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.47403,
"c": 0.1945,
"h": 274.7
},
"luminance": 0.09616
}Semantic roles & 50–950 ramp
primary
#4246C6
secondary
#CFCD95
accent
#D94BDD
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83