#3850C4#3850C4
#3850C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.183 H 269.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3850C4 |
|---|---|
| RGB | rgb(56, 80, 196) |
| HSL | hsl(230, 56%, 49%) |
| HSV | hsv(230, 71%, 77%) |
| CMYK | cmyk(71.4%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.83, 30.57, -63.27) |
| CIE-LCH | lch(38.83, 70.27, 295.79°) |
| OKLab | oklab(48.45% -0.0019 -0.1825) |
| OKLCH | oklch(48.45% 0.183 269.4) |
| XYZ | xyz(14.4599, 10.5621, 53.4905) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.46
Warm Blue
#4B57DB
ΔE00 4.54
Blue (survey)
#0343DF
ΔE00 4.91
Cobalt
#0047AB
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3850C4 #C4AC38
analogous
#3896C4 #3850C4 #6638C4
triadic
#3850C4 #C43850 #50C438
tetradic
#3850C4 #C43896 #C4AC38 #38C466
square
#3850C4 #C43896 #C4AC38 #38C466
split-complementary
#3850C4 #C46638 #96C438
monochromatic
#1D2965 #2A3D94 #3850C4 #6679D3 #96A2E1
Accessibility & contrast
On white
6.75
#3850C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3850C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3850C4
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3850C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3850C4 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3850c4; /* rgb */ color: rgb(56, 80, 196); /* oklch */ color: oklch(48.4% 0.183 269.4);
Tailwind
colors: {
custom: {
50: '#8180d7',
500: '#3850c4',
950: '#000000',
},
}SCSS
$custom: #3850c4; $custom-light: #8180d7; $custom-dark: #000000;
JSON
{
"hex": "#3850c4",
"rgb": {
"r": 56,
"g": 80,
"b": 196
},
"hsl": {
"h": 229.714,
"s": 55.556,
"l": 49.412
},
"oklch": {
"l": 0.48448,
"c": 0.18254,
"h": 269.4
},
"luminance": 0.10564
}Semantic roles & 50–950 ramp
primary
#3850C4
secondary
#CCC18C
accent
#C549DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83