#3958C9#3958C9
#3958C9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.179 H 267.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3958C9 |
|---|---|
| RGB | rgb(57, 88, 201) |
| HSL | hsl(227, 57%, 51%) |
| HSV | hsv(227, 72%, 79%) |
| CMYK | cmyk(71.6%, 56.2%, 0%, 21.2%) |
| CIE-LAB | lab(41.32, 27.37, -62.13) |
| CIE-LCH | lch(41.32, 67.89, 293.78°) |
| OKLab | oklab(50.44% -0.0069 -0.179) |
| OKLCH | oklch(50.44% 0.179 267.8) |
| XYZ | xyz(15.7160, 12.0647, 56.7475) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.47
Azul
#1D5DEC
ΔE00 4.55
Denim
#1560BD
ΔE00 5.98
Electric Blue
#0652FF
ΔE00 6.35
Iris
#6258C4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958C9 #C9AA39
analogous
#39A0C9 #3958C9 #6239C9
triadic
#3958C9 #C93958 #58C939
tetradic
#3958C9 #C939A0 #C9AA39 #39C962
square
#3958C9 #C939A0 #C9AA39 #39C962
split-complementary
#3958C9 #C96239 #A0C939
monochromatic
#1D2E6B #2A429B #3958C9 #6981D6 #99A9E3
Accessibility & contrast
On white
6.15
#3958C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#3958C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958C9
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958C9 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3958c9; /* rgb */ color: rgb(57, 88, 201); /* oklch */ color: oklch(50.4% 0.179 267.8);
Tailwind
colors: {
custom: {
50: '#8286da',
500: '#3958c9',
950: '#000000',
},
}SCSS
$custom: #3958c9; $custom-light: #8286da; $custom-dark: #000000;
JSON
{
"hex": "#3958c9",
"rgb": {
"r": 57,
"g": 88,
"b": 201
},
"hsl": {
"h": 227.083,
"s": 57.143,
"l": 50.588
},
"oklch": {
"l": 0.50438,
"c": 0.17917,
"h": 267.8
},
"luminance": 0.12066
}Semantic roles & 50–950 ramp
primary
#3958C9
secondary
#CFC18F
accent
#BF47E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83