#3155B5#3155B5
#3155B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.158 H 265.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3155B5 |
|---|---|
| RGB | rgb(49, 85, 181) |
| HSL | hsl(224, 57%, 45%) |
| HSV | hsv(224, 73%, 71%) |
| CMYK | cmyk(72.9%, 53%, 0%, 29%) |
| CIE-LAB | lab(38.70, 20.87, -54.73) |
| CIE-LCH | lch(38.70, 58.57, 290.87°) |
| OKLab | oklab(47.9% -0.0129 -0.1575) |
| OKLCH | oklch(47.9% 0.158 265.3) |
| XYZ | xyz(12.8527, 10.4848, 45.0535) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 5.00
Denim Blue
#3B5B92
ΔE00 5.10
Denim
#1560BD
ΔE00 5.24
Dusk Blue
#26538D
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155B5 #B59131
analogous
#3197B5 #3155B5 #4F31B5
triadic
#3155B5 #B53155 #55B531
tetradic
#3155B5 #B53197 #B59131 #31B54F
square
#3155B5 #B53197 #B59131 #31B54F
split-complementary
#3155B5 #B54F31 #97B531
monochromatic
#172855 #243E85 #3155B5 #5375D0 #839CDD
Accessibility & contrast
On white
6.78
#3155B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3155B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155B5
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155B5 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3155b5; /* rgb */ color: rgb(49, 85, 181); /* oklch */ color: oklch(47.9% 0.158 265.3);
Tailwind
colors: {
custom: {
50: '#7b84cc',
500: '#3155b5',
950: '#000000',
},
}SCSS
$custom: #3155b5; $custom-light: #7b84cc; $custom-dark: #000000;
JSON
{
"hex": "#3155b5",
"rgb": {
"r": 49,
"g": 85,
"b": 181
},
"hsl": {
"h": 223.636,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.47903,
"c": 0.158,
"h": 265.3
},
"luminance": 0.10486
}Semantic roles & 50–950 ramp
primary
#3155B5
secondary
#C7B27B
accent
#B747E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82