#3846C8#3846C8
#3846C8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.200 H 271.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3846C8 |
|---|---|
| RGB | rgb(56, 70, 200) |
| HSL | hsl(234, 57%, 50%) |
| HSV | hsv(234, 72%, 78%) |
| CMYK | cmyk(72%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(36.72, 38.32, -69.04) |
| CIE-LCH | lch(36.72, 78.96, 299.03°) |
| OKLab | oklab(47% 0.0049 -0.1996) |
| OKLCH | oklch(47% 0.2 271.4) |
| XYZ | xyz(14.2428, 9.3898, 55.6942) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.02
Blue (survey)
#0343DF
ΔE00 3.19
Ocean Blue
#4F42B5
ΔE00 4.14
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Blurple
#5539CC
ΔE00 5.34
Sapphire (survey)
#2138AB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846C8 #C8BA38
analogous
#388EC8 #3846C8 #7238C8
triadic
#3846C8 #C83846 #46C838
tetradic
#3846C8 #C8388E #C8BA38 #38C872
square
#3846C8 #C8388E #C8BA38 #38C872
split-complementary
#3846C8 #C87238 #8EC838
monochromatic
#1D2469 #2A3599 #3846C8 #6873D5 #989FE3
Accessibility & contrast
On white
7.30
#3846C8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#3846C8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846C8
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846C8 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3846c8; /* rgb */ color: rgb(56, 70, 200); /* oklch */ color: oklch(47.0% 0.200 271.4);
Tailwind
colors: {
custom: {
50: '#8379da',
500: '#3846c8',
950: '#000000',
},
}SCSS
$custom: #3846c8; $custom-light: #8379da; $custom-dark: #000000;
JSON
{
"hex": "#3846c8",
"rgb": {
"r": 56,
"g": 70,
"b": 200
},
"hsl": {
"h": 234.167,
"s": 56.693,
"l": 50.196
},
"oklch": {
"l": 0.46995,
"c": 0.19962,
"h": 271.4
},
"luminance": 0.09391
}Semantic roles & 50–950 ramp
primary
#3846C8
secondary
#CEC88E
accent
#D148E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83