#3155BB#3155BB
#3155BB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.166 H 265.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3155BB |
|---|---|
| RGB | rgb(49, 85, 187) |
| HSL | hsl(224, 58%, 46%) |
| HSV | hsv(224, 74%, 73%) |
| CMYK | cmyk(73.8%, 54.5%, 0%, 26.7%) |
| CIE-LAB | lab(39.13, 23.12, -57.54) |
| CIE-LCH | lch(39.13, 62.01, 291.89°) |
| OKLab | oklab(48.37% -0.0124 -0.1658) |
| OKLCH | oklch(48.37% 0.166 265.7) |
| XYZ | xyz(13.4816, 10.7364, 48.3659) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.52
Cobalt
#0047AB
ΔE00 5.33
Denim
#1560BD
ΔE00 5.38
Denim Blue
#3B5B92
ΔE00 5.80
Warm Blue
#4B57DB
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155BB #BB9731
analogous
#319ABB #3155BB #5231BB
triadic
#3155BB #BB3155 #55BB31
tetradic
#3155BB #BB319A #BB9731 #31BB52
square
#3155BB #BB319A #BB9731 #31BB52
split-complementary
#3155BB #BB5231 #9ABB31
monochromatic
#18295A #243F8B #3155BB #5677D3 #879EE0
Accessibility & contrast
On white
6.67
#3155BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3155BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155BB
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155BB | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3155bb; /* rgb */ color: rgb(49, 85, 187); /* oklch */ color: oklch(48.4% 0.166 265.7);
Tailwind
colors: {
custom: {
50: '#7c84d0',
500: '#3155bb',
950: '#000000',
},
}SCSS
$custom: #3155bb; $custom-light: #7c84d0; $custom-dark: #000000;
JSON
{
"hex": "#3155bb",
"rgb": {
"r": 49,
"g": 85,
"b": 187
},
"hsl": {
"h": 224.348,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.48369,
"c": 0.16623,
"h": 265.7
},
"luminance": 0.10738
}Semantic roles & 50–950 ramp
primary
#3155BB
secondary
#C9B67F
accent
#B946E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82