#3155C5#3155C5
#3155C5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.180 H 266.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3155C5 |
|---|---|
| RGB | rgb(49, 85, 197) |
| HSL | hsl(225, 60%, 48%) |
| HSV | hsv(225, 75%, 77%) |
| CMYK | cmyk(75.1%, 56.9%, 0%, 22.7%) |
| CIE-LAB | lab(39.88, 26.85, -62.16) |
| CIE-LCH | lch(39.88, 67.71, 293.36°) |
| OKLab | oklab(49.17% -0.0118 -0.1793) |
| OKLCH | oklch(49.17% 0.18 266.2) |
| XYZ | xyz(14.5896, 11.1796, 54.2015) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 4.82
Azul
#1D5DEC
ΔE00 5.36
Denim
#1560BD
ΔE00 5.84
Blue Blue
#2242C7
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155C5 #C5A131
analogous
#319FC5 #3155C5 #5731C5
triadic
#3155C5 #C53155 #55C531
tetradic
#3155C5 #C5319F #C5A131 #31C557
square
#3155C5 #C5319F #C5A131 #31C557
split-complementary
#3155C5 #C55731 #9FC531
monochromatic
#192B63 #254094 #3155C5 #5D7AD7 #8EA2E3
Accessibility & contrast
On white
6.49
#3155C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3155C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155C5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155C5 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3155c5; /* rgb */ color: rgb(49, 85, 197); /* oklch */ color: oklch(49.2% 0.180 266.2);
Tailwind
colors: {
custom: {
50: '#7e84d7',
500: '#3155c5',
950: '#000000',
},
}SCSS
$custom: #3155c5; $custom-light: #7e84d7; $custom-dark: #000000;
JSON
{
"hex": "#3155c5",
"rgb": {
"r": 49,
"g": 85,
"b": 197
},
"hsl": {
"h": 225.405,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.49168,
"c": 0.17973,
"h": 266.2
},
"luminance": 0.11181
}Semantic roles & 50–950 ramp
primary
#3155C5
secondary
#CDBC85
accent
#BD44E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83