#3862C5#3862C5
#3862C5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.162 H 264.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3862C5 |
|---|---|
| RGB | rgb(56, 98, 197) |
| HSL | hsl(222, 56%, 50%) |
| HSV | hsv(222, 72%, 77%) |
| CMYK | cmyk(71.6%, 50.3%, 0%, 22.7%) |
| CIE-LAB | lab(43.66, 19.33, -56.02) |
| CIE-LCH | lch(43.66, 59.26, 289.04°) |
| OKLab | oklab(52.11% -0.0162 -0.1609) |
| OKLCH | oklch(52.11% 0.162 264.2) |
| XYZ | xyz(16.0731, 13.6056, 54.5916) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.65
French Blue
#436BAD
ΔE00 4.21
Royal Blue
#4169E1
ΔE00 4.56
Azul
#1D5DEC
ΔE00 4.80
Mid Blue
#276AB3
ΔE00 5.56
Sapphire
#0F52BA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862C5 #C59B38
analogous
#38A8C5 #3862C5 #5538C5
triadic
#3862C5 #C53862 #62C538
tetradic
#3862C5 #C538A8 #C59B38 #38C555
square
#3862C5 #C538A8 #C59B38 #38C555
split-complementary
#3862C5 #C55538 #A8C538
monochromatic
#1D3366 #2A4A95 #3862C5 #6787D4 #96ADE1
Accessibility & contrast
On white
5.64
#3862C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#3862C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862C5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862C5 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3862c5; /* rgb */ color: rgb(56, 98, 197); /* oklch */ color: oklch(52.1% 0.162 264.2);
Tailwind
colors: {
custom: {
50: '#808ed7',
500: '#3862c5',
950: '#000000',
},
}SCSS
$custom: #3862c5; $custom-light: #808ed7; $custom-dark: #000000;
JSON
{
"hex": "#3862c5",
"rgb": {
"r": 56,
"g": 98,
"b": 197
},
"hsl": {
"h": 222.128,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.52108,
"c": 0.16176,
"h": 264.2
},
"luminance": 0.13607
}Semantic roles & 50–950 ramp
primary
#3862C5
secondary
#CDB98C
accent
#B249DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83