#3854C2#3854C2
#3854C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.175 H 268.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3854C2 |
|---|---|
| RGB | rgb(56, 84, 194) |
| HSL | hsl(228, 55%, 49%) |
| HSV | hsv(228, 71%, 76%) |
| CMYK | cmyk(71.1%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.71, 27.27, -60.69) |
| CIE-LCH | lch(39.71, 66.53, 294.20°) |
| OKLab | oklab(49.05% -0.005 -0.1749) |
| OKLCH | oklch(49.05% 0.175 268.4) |
| XYZ | xyz(14.5355, 11.0750, 52.4001) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.58
Blue Blue
#2242C7
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.91
Blue (survey)
#0343DF
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3854C2 #C2A638
analogous
#3899C2 #3854C2 #6138C2
triadic
#3854C2 #C23854 #54C238
tetradic
#3854C2 #C23899 #C2A638 #38C261
square
#3854C2 #C23899 #C2A638 #38C261
split-complementary
#3854C2 #C26138 #99C238
monochromatic
#1D2B63 #2A3F93 #3854C2 #657BD2 #94A4E0
Accessibility & contrast
On white
6.53
#3854C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3854C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3854C2
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3854C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3854C2 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3854c2; /* rgb */ color: rgb(56, 84, 194); /* oklch */ color: oklch(49.1% 0.175 268.4);
Tailwind
colors: {
custom: {
50: '#8083d5',
500: '#3854c2',
950: '#000000',
},
}SCSS
$custom: #3854c2; $custom-light: #8083d5; $custom-dark: #000000;
JSON
{
"hex": "#3854c2",
"rgb": {
"r": 56,
"g": 84,
"b": 194
},
"hsl": {
"h": 227.826,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.49052,
"c": 0.17495,
"h": 268.4
},
"luminance": 0.11076
}Semantic roles & 50–950 ramp
primary
#3854C2
secondary
#CBBE8A
accent
#C049DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83