#3F5FBF#3F5FBF
#3F5FBF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.155 H 267.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FBF |
|---|---|
| RGB | rgb(63, 95, 191) |
| HSL | hsl(225, 50%, 50%) |
| HSV | hsv(225, 67%, 75%) |
| CMYK | cmyk(67%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(42.77, 20.12, -53.97) |
| CIE-LCH | lch(42.77, 57.60, 290.45°) |
| OKLab | oklab(51.39% -0.0082 -0.1548) |
| OKLCH | oklch(51.39% 0.155 267) |
| XYZ | xyz(15.5428, 13.0013, 50.9705) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.57
French Blue
#436BAD
ΔE00 4.99
Sapphire
#0F52BA
ΔE00 5.23
Azul
#1D5DEC
ΔE00 5.37
Royal Blue
#4169E1
ΔE00 5.52
Warm Blue
#4B57DB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FBF #BF9F3F
analogous
#3F9FBF #3F5FBF #5F3FBF
triadic
#3F5FBF #BF3F5F #5FBF3F
tetradic
#3F5FBF #BF3F9F #BF9F3F #3FBF5F
square
#3F5FBF #BF3F9F #BF9F3F #3FBF5F
split-complementary
#3F5FBF #BF5F3F #9FBF3F
monochromatic
#213163 #304891 #3F5FBF #6D85CF #9BABDE
Accessibility & contrast
On white
5.83
#3F5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3F5FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FBF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FBF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3f5fbf; /* rgb */ color: rgb(63, 95, 191); /* oklch */ color: oklch(51.4% 0.155 267.0);
Tailwind
colors: {
custom: {
50: '#828bd3',
500: '#3f5fbf',
950: '#000000',
},
}SCSS
$custom: #3f5fbf; $custom-light: #828bd3; $custom-dark: #000000;
JSON
{
"hex": "#3f5fbf",
"rgb": {
"r": 63,
"g": 95,
"b": 191
},
"hsl": {
"h": 225,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.51386,
"c": 0.15505,
"h": 267
},
"luminance": 0.13003
}Semantic roles & 50–950 ramp
primary
#3F5FBF
secondary
#CABB90
accent
#B74EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83