#3958CA#3958CA
#3958CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.181 H 267.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3958CA |
|---|---|
| RGB | rgb(57, 88, 202) |
| HSL | hsl(227, 58%, 51%) |
| HSV | hsv(227, 72%, 79%) |
| CMYK | cmyk(71.8%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.39, 27.73, -62.58) |
| CIE-LCH | lch(41.39, 68.45, 293.90°) |
| OKLab | oklab(50.52% -0.0069 -0.1804) |
| OKLCH | oklch(50.52% 0.181 267.8) |
| XYZ | xyz(15.8340, 12.1119, 57.3690) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.73
Azul
#1D5DEC
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.56
Denim
#1560BD
ΔE00 6.05
Electric Blue
#0652FF
ΔE00 6.22
Iris
#6258C4
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3958CA #CAAB39
analogous
#39A1CA #3958CA #6239CA
triadic
#3958CA #CA3958 #58CA39
tetradic
#3958CA #CA39A1 #CAAB39 #39CA62
square
#3958CA #CA39A1 #CAAB39 #39CA62
split-complementary
#3958CA #CA6239 #A1CA39
monochromatic
#1D2E6C #2A429C #3958CA #6981D7 #9AA9E4
Accessibility & contrast
On white
6.14
#3958CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#3958CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3958CA
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3958CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3958CA | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3958ca; /* rgb */ color: rgb(57, 88, 202); /* oklch */ color: oklch(50.5% 0.181 267.8);
Tailwind
colors: {
custom: {
50: '#8286db',
500: '#3958ca',
950: '#000000',
},
}SCSS
$custom: #3958ca; $custom-light: #8286db; $custom-dark: #000000;
JSON
{
"hex": "#3958ca",
"rgb": {
"r": 57,
"g": 88,
"b": 202
},
"hsl": {
"h": 227.172,
"s": 57.769,
"l": 50.784
},
"oklch": {
"l": 0.50518,
"c": 0.18051,
"h": 267.8
},
"luminance": 0.12114
}Semantic roles & 50–950 ramp
primary
#3958CA
secondary
#D0C28F
accent
#C047E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83