#3862BE#3862BE
#3862BE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.152 H 263.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3862BE |
|---|---|
| RGB | rgb(56, 98, 190) |
| HSL | hsl(221, 54%, 48%) |
| HSV | hsv(221, 71%, 75%) |
| CMYK | cmyk(70.5%, 48.4%, 0%, 25.5%) |
| CIE-LAB | lab(43.20, 16.76, -52.71) |
| CIE-LCH | lch(43.20, 55.31, 287.63°) |
| OKLab | oklab(51.61% -0.0171 -0.1512) |
| OKLCH | oklch(51.61% 0.152 263.5) |
| XYZ | xyz(15.2895, 13.2922, 50.4651) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.14
French Blue
#436BAD
ΔE00 3.69
Mid Blue
#276AB3
ΔE00 5.06
Royal Blue
#4169E1
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862BE #BE9438
analogous
#38A5BE #3862BE #5138BE
triadic
#3862BE #BE3862 #62BE38
tetradic
#3862BE #BE38A5 #BE9438 #38BE51
square
#3862BE #BE38A5 #BE9438 #38BE51
split-complementary
#3862BE #BE5138 #A5BE38
monochromatic
#1C315F #2A4A8F #3862BE #6285D1 #92AADF
Accessibility & contrast
On white
5.74
#3862BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#3862BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862BE
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862BE | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306DC1
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3862be; /* rgb */ color: rgb(56, 98, 190); /* oklch */ color: oklch(51.6% 0.152 263.5);
Tailwind
colors: {
custom: {
50: '#7f8ed2',
500: '#3862be',
950: '#000000',
},
}SCSS
$custom: #3862be; $custom-light: #7f8ed2; $custom-dark: #000000;
JSON
{
"hex": "#3862be",
"rgb": {
"r": 56,
"g": 98,
"b": 190
},
"hsl": {
"h": 221.194,
"s": 54.472,
"l": 48.235
},
"oklch": {
"l": 0.51608,
"c": 0.15216,
"h": 263.5
},
"luminance": 0.13294
}Semantic roles & 50–950 ramp
primary
#3862BE
secondary
#CAB588
accent
#AF4ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83