#387FF2#387FF2
#387FF2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.187 H 259.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #387FF2 |
|---|---|
| RGB | rgb(56, 127, 242) |
| HSL | hsl(217, 88%, 58%) |
| HSV | hsv(217, 77%, 95%) |
| CMYK | cmyk(76.9%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(54.48, 17.60, -64.06) |
| CIE-LCH | lch(54.48, 66.44, 285.37°) |
| OKLab | oklab(61.32% -0.0334 -0.1841) |
| OKLCH | oklch(61.32% 0.187 259.7) |
| XYZ | xyz(25.2414, 22.4274, 86.9858) |
| Luminance | 0.2243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.70
Clear Blue
#247AFD
ΔE00 1.88
Azure
#007FFF
ΔE00 1.91
Lightish Blue
#3D7AFD
ΔE00 2.69
Deep Sky Blue
#0D75F8
ΔE00 3.44
Soft Blue
#6488EA
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387FF2 #F2AB38
analogous
#38DCF2 #387FF2 #4E38F2
triadic
#387FF2 #F2387F #7FF238
tetradic
#387FF2 #F238DC #F2AB38 #38F24E
square
#387FF2 #F238DC #F2AB38 #38F24E
split-complementary
#387FF2 #F24E38 #DCF238
monochromatic
#0B46A5 #0F5EDE #387FF2 #71A4F6 #ABC9FA
Accessibility & contrast
On white
3.83
#387FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#387FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #387FF2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##387FF2 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #387ff2; /* rgb */ color: rgb(56, 127, 242); /* oklch */ color: oklch(61.3% 0.187 259.7);
Tailwind
colors: {
custom: {
50: '#88a3f7',
500: '#387ff2',
950: '#000000',
},
}SCSS
$custom: #387ff2; $custom-light: #88a3f7; $custom-dark: #000000;
JSON
{
"hex": "#387ff2",
"rgb": {
"r": 56,
"g": 127,
"b": 242
},
"hsl": {
"h": 217.097,
"s": 87.736,
"l": 58.431
},
"oklch": {
"l": 0.61317,
"c": 0.18711,
"h": 259.7
},
"luminance": 0.2243
}Semantic roles & 50–950 ramp
primary
#387FF2
secondary
#E8CC9E
accent
#AD2AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0F17
muted
#7E7E85