#3959C1#3959C1
#3959C1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.167 H 267.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3959C1 |
|---|---|
| RGB | rgb(57, 89, 193) |
| HSL | hsl(226, 54%, 49%) |
| HSV | hsv(226, 70%, 76%) |
| CMYK | cmyk(70.5%, 53.9%, 0%, 24.3%) |
| CIE-LAB | lab(41.00, 23.81, -58.01) |
| CIE-LCH | lch(41.00, 62.70, 292.32°) |
| OKLab | oklab(50.01% -0.0082 -0.1669) |
| OKLCH | oklch(50.01% 0.167 267.2) |
| XYZ | xyz(14.8820, 11.8634, 51.9473) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.90
Warm Blue
#4B57DB
ΔE00 4.92
Denim
#1560BD
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 6.31
Dusky Blue
#475F94
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3959C1 #C1A139
analogous
#399DC1 #3959C1 #5D39C1
triadic
#3959C1 #C13959 #59C139
tetradic
#3959C1 #C1399D #C1A139 #39C15D
square
#3959C1 #C1399D #C1A139 #39C15D
split-complementary
#3959C1 #C15D39 #9DC139
monochromatic
#1D2D63 #2B4392 #3959C1 #667FD2 #95A6E0
Accessibility & contrast
On white
6.23
#3959C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#3959C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3959C1
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3959C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3959C1 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3959c1; /* rgb */ color: rgb(57, 89, 193); /* oklch */ color: oklch(50.0% 0.167 267.2);
Tailwind
colors: {
custom: {
50: '#8087d4',
500: '#3959c1',
950: '#000000',
},
}SCSS
$custom: #3959c1; $custom-light: #8087d4; $custom-dark: #000000;
JSON
{
"hex": "#3959c1",
"rgb": {
"r": 57,
"g": 89,
"b": 193
},
"hsl": {
"h": 225.882,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.50013,
"c": 0.16711,
"h": 267.2
},
"luminance": 0.11865
}Semantic roles & 50–950 ramp
primary
#3959C1
secondary
#CBBC8B
accent
#BB4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83