#3B5FC7#3B5FC7
#3B5FC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.167 H 266.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3B5FC7 |
|---|---|
| RGB | rgb(59, 95, 199) |
| HSL | hsl(225, 56%, 51%) |
| HSV | hsv(225, 70%, 78%) |
| CMYK | cmyk(70.4%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(43.12, 22.41, -58.05) |
| CIE-LCH | lch(43.12, 62.23, 291.11°) |
| OKLab | oklab(51.77% -0.011 -0.1669) |
| OKLCH | oklch(51.77% 0.167 266.2) |
| XYZ | xyz(16.2010, 13.2361, 55.7228) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.35
Denim
#1560BD
ΔE00 4.55
Royal Blue
#4169E1
ΔE00 4.81
Warm Blue
#4B57DB
ΔE00 5.14
Sapphire
#0F52BA
ΔE00 5.32
French Blue
#436BAD
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B5FC7 #C7A33B
analogous
#3BA5C7 #3B5FC7 #5D3BC7
triadic
#3B5FC7 #C73B5F #5FC73B
tetradic
#3B5FC7 #C73BA5 #C7A33B #3BC75D
square
#3B5FC7 #C73BA5 #C7A33B #3BC75D
split-complementary
#3B5FC7 #C75D3B #A5C73B
monochromatic
#1E3269 #2C4899 #3B5FC7 #6B86D5 #9AADE2
Accessibility & contrast
On white
5.76
#3B5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#3B5FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B5FC7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B5FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B5FC7 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3b5fc7; /* rgb */ color: rgb(59, 95, 199); /* oklch */ color: oklch(51.8% 0.167 266.2);
Tailwind
colors: {
custom: {
50: '#828bd9',
500: '#3b5fc7',
950: '#000000',
},
}SCSS
$custom: #3b5fc7; $custom-light: #828bd9; $custom-dark: #000000;
JSON
{
"hex": "#3b5fc7",
"rgb": {
"r": 59,
"g": 95,
"b": 199
},
"hsl": {
"h": 224.571,
"s": 55.556,
"l": 50.588
},
"oklch": {
"l": 0.51774,
"c": 0.16727,
"h": 266.2
},
"luminance": 0.13238
}Semantic roles & 50–950 ramp
primary
#3B5FC7
secondary
#CEBE90
accent
#B849DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83