#3862C8#3862C8
#3862C8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.166 H 264.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3862C8 |
|---|---|
| RGB | rgb(56, 98, 200) |
| HSL | hsl(223, 57%, 50%) |
| HSV | hsv(223, 72%, 78%) |
| CMYK | cmyk(72%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(43.86, 20.44, -57.43) |
| CIE-LCH | lch(43.86, 60.95, 289.59°) |
| OKLab | oklab(52.33% -0.0159 -0.1651) |
| OKLCH | oklch(52.33% 0.166 264.5) |
| XYZ | xyz(16.4202, 13.7445, 56.4200) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.92
Royal Blue
#4169E1
ΔE00 4.24
Azul
#1D5DEC
ΔE00 4.44
French Blue
#436BAD
ΔE00 4.46
Mid Blue
#276AB3
ΔE00 5.80
Cornflower Blue
#5170D7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862C8 #C89E38
analogous
#38AAC8 #3862C8 #5638C8
triadic
#3862C8 #C83862 #62C838
tetradic
#3862C8 #C838AA #C89E38 #38C856
square
#3862C8 #C838AA #C89E38 #38C856
split-complementary
#3862C8 #C85638 #AAC838
monochromatic
#1D3369 #2A4A99 #3862C8 #6888D5 #98AEE3
Accessibility & contrast
On white
5.60
#3862C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#3862C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862C8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862C8 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3862c8; /* rgb */ color: rgb(56, 98, 200); /* oklch */ color: oklch(52.3% 0.166 264.5);
Tailwind
colors: {
custom: {
50: '#818ed9',
500: '#3862c8',
950: '#000000',
},
}SCSS
$custom: #3862c8; $custom-light: #818ed9; $custom-dark: #000000;
JSON
{
"hex": "#3862c8",
"rgb": {
"r": 56,
"g": 98,
"b": 200
},
"hsl": {
"h": 222.5,
"s": 56.693,
"l": 50.196
},
"oklch": {
"l": 0.52327,
"c": 0.16584,
"h": 264.5
},
"luminance": 0.13746
}Semantic roles & 50–950 ramp
primary
#3862C8
secondary
#CEBB8E
accent
#B448E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83