#3B5EC7#3B5EC7
#3B5EC7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.169 H 266.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3B5EC7 |
|---|---|
| RGB | rgb(59, 94, 199) |
| HSL | hsl(225, 56%, 51%) |
| HSV | hsv(225, 70%, 78%) |
| CMYK | cmyk(70.4%, 52.8%, 0%, 22%) |
| CIE-LAB | lab(42.85, 23.06, -58.48) |
| CIE-LCH | lch(42.85, 62.86, 291.52°) |
| OKLab | oklab(51.57% -0.0101 -0.1682) |
| OKLCH | oklch(51.57% 0.169 266.6) |
| XYZ | xyz(16.1115, 13.0571, 55.6929) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.34
Denim
#1560BD
ΔE00 4.72
Warm Blue
#4B57DB
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.03
Sapphire
#0F52BA
ΔE00 5.14
French Blue
#436BAD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B5EC7 #C7A43B
analogous
#3BA4C7 #3B5EC7 #5E3BC7
triadic
#3B5EC7 #C73B5E #5EC73B
tetradic
#3B5EC7 #C73BA4 #C7A43B #3BC75E
square
#3B5EC7 #C73BA4 #C7A43B #3BC75E
split-complementary
#3B5EC7 #C75E3B #A4C73B
monochromatic
#1E3169 #2C4799 #3B5EC7 #6B85D5 #9AACE2
Accessibility & contrast
On white
5.81
#3B5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#3B5EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B5EC7
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B5EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B5EC7 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3b5ec7; /* rgb */ color: rgb(59, 94, 199); /* oklch */ color: oklch(51.6% 0.169 266.6);
Tailwind
colors: {
custom: {
50: '#828bd9',
500: '#3b5ec7',
950: '#000000',
},
}SCSS
$custom: #3b5ec7; $custom-light: #828bd9; $custom-dark: #000000;
JSON
{
"hex": "#3b5ec7",
"rgb": {
"r": 59,
"g": 94,
"b": 199
},
"hsl": {
"h": 225,
"s": 55.556,
"l": 50.588
},
"oklch": {
"l": 0.51571,
"c": 0.1685,
"h": 266.6
},
"luminance": 0.13059
}Semantic roles & 50–950 ramp
primary
#3B5EC7
secondary
#CEBE90
accent
#B949DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83