#3F5CBF#3F5CBF
#3F5CBF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.159 H 268.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CBF |
|---|---|
| RGB | rgb(63, 92, 191) |
| HSL | hsl(226, 50%, 50%) |
| HSV | hsv(226, 67%, 75%) |
| CMYK | cmyk(67%, 51.8%, 0%, 25.1%) |
| CIE-LAB | lab(41.96, 22.05, -55.28) |
| CIE-LCH | lch(41.96, 59.52, 291.75°) |
| OKLab | oklab(50.77% -0.0054 -0.1587) |
| OKLCH | oklch(50.77% 0.159 268) |
| XYZ | xyz(15.2778, 12.4712, 50.8822) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.74
Warm Blue
#4B57DB
ΔE00 5.06
Denim
#1560BD
ΔE00 5.17
Azul
#1D5DEC
ΔE00 5.44
French Blue
#436BAD
ΔE00 5.98
Dusky Blue
#475F94
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CBF #BFA23F
analogous
#3F9CBF #3F5CBF #623FBF
triadic
#3F5CBF #BF3F5C #5CBF3F
tetradic
#3F5CBF #BF3F9C #BFA23F #3FBF62
square
#3F5CBF #BF3F9C #BFA23F #3FBF62
split-complementary
#3F5CBF #BF623F #9CBF3F
monochromatic
#213063 #304691 #3F5CBF #6D83CF #9BAADE
Accessibility & contrast
On white
6.01
#3F5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#3F5CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CBF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CBF | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3f5cbf; /* rgb */ color: rgb(63, 92, 191); /* oklch */ color: oklch(50.8% 0.159 268.0);
Tailwind
colors: {
custom: {
50: '#8289d3',
500: '#3f5cbf',
950: '#000000',
},
}SCSS
$custom: #3f5cbf; $custom-light: #8289d3; $custom-dark: #000000;
JSON
{
"hex": "#3f5cbf",
"rgb": {
"r": 63,
"g": 92,
"b": 191
},
"hsl": {
"h": 226.406,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.50772,
"c": 0.15881,
"h": 268
},
"luminance": 0.12473
}Semantic roles & 50–950 ramp
primary
#3F5CBF
secondary
#CABD90
accent
#BA4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83