#3B5CC6#3B5CC6
#3B5CC6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.170 H 267.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3B5CC6 |
|---|---|
| RGB | rgb(59, 92, 198) |
| HSL | hsl(226, 55%, 50%) |
| HSV | hsv(226, 70%, 78%) |
| CMYK | cmyk(70.2%, 53.5%, 0%, 22.4%) |
| CIE-LAB | lab(42.25, 23.98, -58.88) |
| CIE-LCH | lch(42.25, 63.58, 292.16°) |
| OKLab | oklab(51.09% -0.0085 -0.1694) |
| OKLCH | oklch(51.09% 0.17 267.1) |
| XYZ | xyz(15.8203, 12.6597, 55.0250) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.52
Warm Blue
#4B57DB
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.76
Denim
#1560BD
ΔE00 5.05
Royal Blue
#4169E1
ΔE00 5.60
French Blue
#436BAD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B5CC6 #C6A53B
analogous
#3BA2C6 #3B5CC6 #5F3BC6
triadic
#3B5CC6 #C63B5C #5CC63B
tetradic
#3B5CC6 #C63BA2 #C6A53B #3BC65F
square
#3B5CC6 #C63BA2 #C6A53B #3BC65F
split-complementary
#3B5CC6 #C65F3B #A2C63B
monochromatic
#1E3068 #2C4698 #3B5CC6 #6A83D4 #9AABE2
Accessibility & contrast
On white
5.95
#3B5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3B5CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B5CC6
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B5CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B5CC6 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6ACA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3b5cc6; /* rgb */ color: rgb(59, 92, 198); /* oklch */ color: oklch(51.1% 0.170 267.1);
Tailwind
colors: {
custom: {
50: '#8289d8',
500: '#3b5cc6',
950: '#000000',
},
}SCSS
$custom: #3b5cc6; $custom-light: #8289d8; $custom-dark: #000000;
JSON
{
"hex": "#3b5cc6",
"rgb": {
"r": 59,
"g": 92,
"b": 198
},
"hsl": {
"h": 225.755,
"s": 54.941,
"l": 50.392
},
"oklch": {
"l": 0.51093,
"c": 0.16961,
"h": 267.1
},
"luminance": 0.12661
}Semantic roles & 50–950 ramp
primary
#3B5CC6
secondary
#CDBF8F
accent
#BB4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83