#387EF2#387EF2
#387EF2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.188 H 260.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #387EF2 |
|---|---|
| RGB | rgb(56, 126, 242) |
| HSL | hsl(217, 88%, 58%) |
| HSV | hsv(217, 77%, 95%) |
| CMYK | cmyk(76.9%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(54.21, 18.22, -64.50) |
| CIE-LCH | lch(54.21, 67.03, 285.78°) |
| OKLab | oklab(61.11% -0.0326 -0.1854) |
| OKLCH | oklch(61.11% 0.188 260) |
| XYZ | xyz(25.1129, 22.1703, 86.9429) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 1.61
Dodger Blue
#3E82FC
ΔE00 1.86
Azure
#007FFF
ΔE00 2.08
Lightish Blue
#3D7AFD
ΔE00 2.41
Deep Sky Blue
#0D75F8
ΔE00 3.14
Soft Blue
#6488EA
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387EF2 #F2AC38
analogous
#38DBF2 #387EF2 #4F38F2
triadic
#387EF2 #F2387E #7EF238
tetradic
#387EF2 #F238DB #F2AC38 #38F24F
square
#387EF2 #F238DB #F2AC38 #38F24F
split-complementary
#387EF2 #F24F38 #DBF238
monochromatic
#0B45A5 #0F5DDE #387EF2 #71A3F6 #ABC8FA
Accessibility & contrast
On white
3.86
#387EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#387EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #387EF2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##387EF2 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #387ef2; /* rgb */ color: rgb(56, 126, 242); /* oklch */ color: oklch(61.1% 0.188 260.0);
Tailwind
colors: {
custom: {
50: '#88a2f7',
500: '#387ef2',
950: '#000000',
},
}SCSS
$custom: #387ef2; $custom-light: #88a2f7; $custom-dark: #000000;
JSON
{
"hex": "#387ef2",
"rgb": {
"r": 56,
"g": 126,
"b": 242
},
"hsl": {
"h": 217.419,
"s": 87.736,
"l": 58.431
},
"oklch": {
"l": 0.61109,
"c": 0.18825,
"h": 260
},
"luminance": 0.22173
}Semantic roles & 50–950 ramp
primary
#387EF2
secondary
#E8CC9E
accent
#AE2AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0F17
muted
#7E7E85