#3155C4#3155C4
#3155C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.178 H 266.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3155C4 |
|---|---|
| RGB | rgb(49, 85, 196) |
| HSL | hsl(225, 60%, 48%) |
| HSV | hsv(225, 75%, 77%) |
| CMYK | cmyk(75%, 56.6%, 0%, 23.1%) |
| CIE-LAB | lab(39.81, 26.47, -61.70) |
| CIE-LCH | lch(39.81, 67.14, 293.22°) |
| OKLab | oklab(49.09% -0.0118 -0.178) |
| OKLCH | oklch(49.09% 0.178 266.2) |
| XYZ | xyz(14.4754, 11.1339, 53.6000) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.21
Warm Blue
#4B57DB
ΔE00 4.93
Azul
#1D5DEC
ΔE00 5.47
Denim
#1560BD
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155C4 #C4A031
analogous
#319EC4 #3155C4 #5631C4
triadic
#3155C4 #C43155 #55C431
tetradic
#3155C4 #C4319E #C4A031 #31C456
square
#3155C4 #C4319E #C4A031 #31C456
split-complementary
#3155C4 #C45631 #9EC431
monochromatic
#192B62 #254093 #3155C4 #5C7AD6 #8DA2E2
Accessibility & contrast
On white
6.51
#3155C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3155C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155C4
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155C4 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3155c4; /* rgb */ color: rgb(49, 85, 196); /* oklch */ color: oklch(49.1% 0.178 266.2);
Tailwind
colors: {
custom: {
50: '#7e84d7',
500: '#3155c4',
950: '#000000',
},
}SCSS
$custom: #3155c4; $custom-light: #7e84d7; $custom-dark: #000000;
JSON
{
"hex": "#3155c4",
"rgb": {
"r": 49,
"g": 85,
"b": 196
},
"hsl": {
"h": 225.306,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.49087,
"c": 0.17839,
"h": 266.2
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#3155C4
secondary
#CDBB84
accent
#BC45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83