#3155C2#3155C2
#3155C2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.176 H 266.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3155C2 |
|---|---|
| RGB | rgb(49, 85, 194) |
| HSL | hsl(225, 60%, 48%) |
| HSV | hsv(225, 75%, 76%) |
| CMYK | cmyk(74.7%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.65, 25.73, -60.79) |
| CIE-LCH | lch(39.65, 66.01, 292.94°) |
| OKLab | oklab(48.93% -0.0119 -0.1753) |
| OKLCH | oklch(48.93% 0.176 266.1) |
| XYZ | xyz(14.2493, 11.0434, 52.4091) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 5.17
Denim
#1560BD
ΔE00 5.68
Azul
#1D5DEC
ΔE00 5.68
Cobalt
#0047AB
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155C2 #C29E31
analogous
#319EC2 #3155C2 #5531C2
triadic
#3155C2 #C23155 #55C231
tetradic
#3155C2 #C2319E #C29E31 #31C255
square
#3155C2 #C2319E #C29E31 #31C255
split-complementary
#3155C2 #C25531 #9EC231
monochromatic
#182A60 #254091 #3155C2 #5B79D6 #8CA1E2
Accessibility & contrast
On white
6.54
#3155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3155C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155C2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155C2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3155c2; /* rgb */ color: rgb(49, 85, 194); /* oklch */ color: oklch(48.9% 0.176 266.1);
Tailwind
colors: {
custom: {
50: '#7e84d5',
500: '#3155c2',
950: '#000000',
},
}SCSS
$custom: #3155c2; $custom-light: #7e84d5; $custom-dark: #000000;
JSON
{
"hex": "#3155c2",
"rgb": {
"r": 49,
"g": 85,
"b": 194
},
"hsl": {
"h": 225.103,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.48925,
"c": 0.1757,
"h": 266.1
},
"luminance": 0.11045
}Semantic roles & 50–950 ramp
primary
#3155C2
secondary
#CCBA83
accent
#BC45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83