#3862C2#3862C2
#3862C2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.158 H 264.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3862C2 |
|---|---|
| RGB | rgb(56, 98, 194) |
| HSL | hsl(222, 55%, 49%) |
| HSV | hsv(222, 71%, 76%) |
| CMYK | cmyk(71.1%, 49.5%, 0%, 23.9%) |
| CIE-LAB | lab(43.46, 18.23, -54.61) |
| CIE-LCH | lch(43.46, 57.57, 288.46°) |
| OKLab | oklab(51.89% -0.0166 -0.1568) |
| OKLCH | oklch(51.89% 0.158 264) |
| XYZ | xyz(15.7327, 13.4695, 52.7992) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.41
French Blue
#436BAD
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.90
Azul
#1D5DEC
ΔE00 5.16
Mid Blue
#276AB3
ΔE00 5.34
Sapphire
#0F52BA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862C2 #C29838
analogous
#38A7C2 #3862C2 #5338C2
triadic
#3862C2 #C23862 #62C238
tetradic
#3862C2 #C238A7 #C29838 #38C253
square
#3862C2 #C238A7 #C29838 #38C253
split-complementary
#3862C2 #C25338 #A7C238
monochromatic
#1D3263 #2A4A93 #3862C2 #6586D2 #94ABE0
Accessibility & contrast
On white
5.68
#3862C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#3862C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862C2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862C2 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3862c2; /* rgb */ color: rgb(56, 98, 194); /* oklch */ color: oklch(51.9% 0.158 264.0);
Tailwind
colors: {
custom: {
50: '#808ed5',
500: '#3862c2',
950: '#000000',
},
}SCSS
$custom: #3862c2; $custom-light: #808ed5; $custom-dark: #000000;
JSON
{
"hex": "#3862c2",
"rgb": {
"r": 56,
"g": 98,
"b": 194
},
"hsl": {
"h": 221.739,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.51892,
"c": 0.15766,
"h": 264
},
"luminance": 0.13471
}Semantic roles & 50–950 ramp
primary
#3862C2
secondary
#CBB88A
accent
#B149DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83