#3862BA#3862BA
#3862BA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.147 H 263.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3862BA |
|---|---|
| RGB | rgb(56, 98, 186) |
| HSL | hsl(221, 54%, 47%) |
| HSV | hsv(221, 70%, 73%) |
| CMYK | cmyk(69.9%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(42.94, 15.28, -50.79) |
| CIE-LCH | lch(42.94, 53.04, 286.75°) |
| OKLab | oklab(51.33% -0.0177 -0.1456) |
| OKLCH | oklch(51.33% 0.147 263.1) |
| XYZ | xyz(14.8584, 13.1198, 48.1942) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.93
French Blue
#436BAD
ΔE00 3.45
Mid Blue
#276AB3
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 5.44
Denim Blue
#3B5B92
ΔE00 5.44
Dusky Blue
#475F94
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862BA #BA9038
analogous
#38A3BA #3862BA #4F38BA
triadic
#3862BA #BA3862 #62BA38
tetradic
#3862BA #BA38A3 #BA9038 #38BA4F
square
#3862BA #BA38A3 #BA9038 #38BA4F
split-complementary
#3862BA #BA4F38 #A3BA38
monochromatic
#1C305C #2A498B #3862BA #6084CF #8FA8DD
Accessibility & contrast
On white
5.79
#3862BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#3862BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862BA
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862BA | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#1560B8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3862ba; /* rgb */ color: rgb(56, 98, 186); /* oklch */ color: oklch(51.3% 0.147 263.1);
Tailwind
colors: {
custom: {
50: '#7e8ecf',
500: '#3862ba',
950: '#000000',
},
}SCSS
$custom: #3862ba; $custom-light: #7e8ecf; $custom-dark: #000000;
JSON
{
"hex": "#3862ba",
"rgb": {
"r": 56,
"g": 98,
"b": 186
},
"hsl": {
"h": 220.615,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.51329,
"c": 0.14664,
"h": 263.1
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#3862BA
secondary
#C8B386
accent
#AE4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82