#3B4EBA#3B4EBA
#3B4EBA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.171 H 270.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3B4EBA |
|---|---|
| RGB | rgb(59, 78, 186) |
| HSL | hsl(231, 52%, 48%) |
| HSV | hsv(231, 68%, 73%) |
| CMYK | cmyk(68.3%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(37.70, 28.67, -59.26) |
| CIE-LCH | lch(37.70, 65.83, 295.82°) |
| OKLab | oklab(47.41% 0.0025 -0.1707) |
| OKLCH | oklch(47.41% 0.171 270.8) |
| XYZ | xyz(13.3879, 9.9225, 47.6545) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.08
Sapphire
#0F52BA
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.54
Warm Blue
#4B57DB
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B4EBA #BAA73B
analogous
#3B8DBA #3B4EBA #683BBA
triadic
#3B4EBA #BA3B4E #4EBA3B
tetradic
#3B4EBA #BA3B8D #BAA73B #3BBA68
square
#3B4EBA #BA3B8D #BAA73B #3BBA68
split-complementary
#3B4EBA #BA683B #8DBA3B
monochromatic
#1E275D #2C3B8C #3B4EBA #6474CE #939EDD
Accessibility & contrast
On white
7.04
#3B4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#3B4EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B4EBA
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B4EBA | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3b4eba; /* rgb */ color: rgb(59, 78, 186); /* oklch */ color: oklch(47.4% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#807fd0',
500: '#3b4eba',
950: '#000000',
},
}SCSS
$custom: #3b4eba; $custom-light: #807fd0; $custom-dark: #000000;
JSON
{
"hex": "#3b4eba",
"rgb": {
"r": 59,
"g": 78,
"b": 186
},
"hsl": {
"h": 231.024,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.47405,
"c": 0.17072,
"h": 270.8
},
"luminance": 0.09924
}Semantic roles & 50–950 ramp
primary
#3B4EBA
secondary
#C8BE89
accent
#C64DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82