#3B7EF2#3B7EF2
#3B7EF2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.187 H 260.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3B7EF2 |
|---|---|
| RGB | rgb(59, 126, 242) |
| HSL | hsl(218, 88%, 59%) |
| HSV | hsv(218, 76%, 95%) |
| CMYK | cmyk(75.6%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(54.30, 18.55, -64.34) |
| CIE-LCH | lch(54.30, 66.97, 286.08°) |
| OKLab | oklab(61.21% -0.0307 -0.1849) |
| OKLCH | oklch(61.21% 0.187 260.6) |
| XYZ | xyz(25.2857, 22.2594, 86.9510) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 1.65
Dodger Blue
#3E82FC
ΔE00 1.77
Lightish Blue
#3D7AFD
ΔE00 2.21
Azure
#007FFF
ΔE00 2.32
Deep Sky Blue
#0D75F8
ΔE00 3.23
Soft Blue
#6488EA
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B7EF2 #F2AF3B
analogous
#3BD9F2 #3B7EF2 #543BF2
triadic
#3B7EF2 #F23B7E #7EF23B
tetradic
#3B7EF2 #F23BD9 #F2AF3B #3BF254
square
#3B7EF2 #F23BD9 #F2AF3B #3BF254
split-complementary
#3B7EF2 #F2543B #D9F23B
monochromatic
#0B44A7 #0F5CE1 #3B7EF2 #74A4F6 #AECAFA
Accessibility & contrast
On white
3.85
#3B7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#3B7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3B7EF2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3B7EF2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 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: #3b7ef2; /* rgb */ color: rgb(59, 126, 242); /* oklch */ color: oklch(61.2% 0.187 260.6);
Tailwind
colors: {
custom: {
50: '#89a2f7',
500: '#3b7ef2',
950: '#000000',
},
}SCSS
$custom: #3b7ef2; $custom-light: #89a2f7; $custom-dark: #000000;
JSON
{
"hex": "#3b7ef2",
"rgb": {
"r": 59,
"g": 126,
"b": 242
},
"hsl": {
"h": 218.033,
"s": 87.56,
"l": 59.02
},
"oklch": {
"l": 0.61208,
"c": 0.18744,
"h": 260.6
},
"luminance": 0.22262
}Semantic roles & 50–950 ramp
primary
#3B7EF2
secondary
#E8CEA0
accent
#B02AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0F17
muted
#7E7E85