#3862CA#3862CA
#3862CA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.169 H 264.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3862CA |
|---|---|
| RGB | rgb(56, 98, 202) |
| HSL | hsl(223, 58%, 51%) |
| HSV | hsv(223, 72%, 79%) |
| CMYK | cmyk(72.3%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(44.00, 21.17, -58.36) |
| CIE-LCH | lch(44.00, 62.08, 289.94°) |
| OKLab | oklab(52.47% -0.0157 -0.1678) |
| OKLCH | oklch(52.47% 0.169 264.7) |
| XYZ | xyz(16.6555, 13.8386, 57.6590) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.02
Denim
#1560BD
ΔE00 4.10
Azul
#1D5DEC
ΔE00 4.21
French Blue
#436BAD
ΔE00 4.64
Cornflower Blue
#5170D7
ΔE00 5.68
Bright Blue
#0165FC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862CA #CAA038
analogous
#38ABCA #3862CA #5738CA
triadic
#3862CA #CA3862 #62CA38
tetradic
#3862CA #CA38AB #CAA038 #38CA57
square
#3862CA #CA38AB #CAA038 #38CA57
split-complementary
#3862CA #CA5738 #ABCA38
monochromatic
#1D336B #294A9B #3862CA #6888D7 #99AEE4
Accessibility & contrast
On white
5.57
#3862CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#3862CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862CA
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862CA | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3862ca; /* rgb */ color: rgb(56, 98, 202); /* oklch */ color: oklch(52.5% 0.169 264.7);
Tailwind
colors: {
custom: {
50: '#818edb',
500: '#3862ca',
950: '#000000',
},
}SCSS
$custom: #3862ca; $custom-light: #818edb; $custom-dark: #000000;
JSON
{
"hex": "#3862ca",
"rgb": {
"r": 56,
"g": 98,
"b": 202
},
"hsl": {
"h": 222.74,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.52474,
"c": 0.16855,
"h": 264.7
},
"luminance": 0.1384
}Semantic roles & 50–950 ramp
primary
#3862CA
secondary
#CFBD8E
accent
#B547E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83