#3855C2#3855C2
#3855C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.174 H 268.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3855C2 |
|---|---|
| RGB | rgb(56, 85, 194) |
| HSL | hsl(227, 55%, 49%) |
| HSV | hsv(227, 71%, 76%) |
| CMYK | cmyk(71.1%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.97, 26.62, -60.26) |
| CIE-LCH | lch(39.97, 65.88, 293.84°) |
| OKLab | oklab(49.25% -0.0058 -0.1736) |
| OKLCH | oklch(49.25% 0.174 268.1) |
| XYZ | xyz(14.6136, 11.2313, 52.4262) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 4.59
Azul
#1D5DEC
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.82
Blue (survey)
#0343DF
ΔE00 6.29
Cobalt
#0047AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3855C2 #C2A538
analogous
#389AC2 #3855C2 #6038C2
triadic
#3855C2 #C23855 #55C238
tetradic
#3855C2 #C2389A #C2A538 #38C260
square
#3855C2 #C2389A #C2A538 #38C260
split-complementary
#3855C2 #C26038 #9AC238
monochromatic
#1D2B63 #2A4093 #3855C2 #657CD2 #94A4E0
Accessibility & contrast
On white
6.47
#3855C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3855C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3855C2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3855C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3855C2 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3855c2; /* rgb */ color: rgb(56, 85, 194); /* oklch */ color: oklch(49.2% 0.174 268.1);
Tailwind
colors: {
custom: {
50: '#8084d5',
500: '#3855c2',
950: '#000000',
},
}SCSS
$custom: #3855c2; $custom-light: #8084d5; $custom-dark: #000000;
JSON
{
"hex": "#3855c2",
"rgb": {
"r": 56,
"g": 85,
"b": 194
},
"hsl": {
"h": 227.391,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.49247,
"c": 0.17372,
"h": 268.1
},
"luminance": 0.11233
}Semantic roles & 50–950 ramp
primary
#3855C2
secondary
#CBBE8A
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83