#3959BA#3959BA
#3959BA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.157 H 266.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3959BA |
|---|---|
| RGB | rgb(57, 89, 186) |
| HSL | hsl(225, 53%, 48%) |
| HSV | hsv(225, 69%, 73%) |
| CMYK | cmyk(69.4%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(40.51, 21.25, -54.72) |
| CIE-LCH | lch(40.51, 58.70, 291.22°) |
| OKLab | oklab(49.48% -0.0088 -0.1572) |
| OKLCH | oklch(49.48% 0.157 266.8) |
| XYZ | xyz(14.1196, 11.5584, 47.9317) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.57
Denim
#1560BD
ΔE00 4.95
Denim Blue
#3B5B92
ΔE00 5.43
Dusky Blue
#475F94
ΔE00 5.79
Warm Blue
#4B57DB
ΔE00 5.81
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3959BA #BA9A39
analogous
#399ABA #3959BA #5939BA
triadic
#3959BA #BA3959 #59BA39
tetradic
#3959BA #BA399A #BA9A39 #39BA59
square
#3959BA #BA399A #BA9A39 #39BA59
split-complementary
#3959BA #BA5939 #9ABA39
monochromatic
#1C2C5C #2B438B #3959BA #617DCF #90A3DD
Accessibility & contrast
On white
6.34
#3959BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#3959BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3959BA
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3959BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3959BA | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B66BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3959ba; /* rgb */ color: rgb(57, 89, 186); /* oklch */ color: oklch(49.5% 0.157 266.8);
Tailwind
colors: {
custom: {
50: '#7f87cf',
500: '#3959ba',
950: '#000000',
},
}SCSS
$custom: #3959ba; $custom-light: #7f87cf; $custom-dark: #000000;
JSON
{
"hex": "#3959ba",
"rgb": {
"r": 57,
"g": 89,
"b": 186
},
"hsl": {
"h": 225.116,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.49484,
"c": 0.15749,
"h": 266.8
},
"luminance": 0.1156
}Semantic roles & 50–950 ramp
primary
#3959BA
secondary
#C8B887
accent
#B84BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82