#3155BD#3155BD
#3155BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.169 H 265.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3155BD |
|---|---|
| RGB | rgb(49, 85, 189) |
| HSL | hsl(225, 59%, 47%) |
| HSV | hsv(225, 74%, 74%) |
| CMYK | cmyk(74.1%, 55%, 0%, 25.9%) |
| CIE-LAB | lab(39.28, 23.86, -58.48) |
| CIE-LCH | lch(39.28, 63.16, 292.20°) |
| OKLab | oklab(48.53% -0.0122 -0.1685) |
| OKLCH | oklch(48.53% 0.169 265.9) |
| XYZ | xyz(13.6972, 10.8226, 49.5013) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.64
Denim
#1560BD
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.47
Warm Blue
#4B57DB
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155BD #BD9931
analogous
#319BBD #3155BD #5331BD
triadic
#3155BD #BD3155 #55BD31
tetradic
#3155BD #BD319B #BD9931 #31BD53
square
#3155BD #BD319B #BD9931 #31BD53
split-complementary
#3155BD #BD5331 #9BBD31
monochromatic
#18295C #243F8C #3155BD #5877D4 #889FE0
Accessibility & contrast
On white
6.64
#3155BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3155BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155BD
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155BD | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3155bd; /* rgb */ color: rgb(49, 85, 189); /* oklch */ color: oklch(48.5% 0.169 265.9);
Tailwind
colors: {
custom: {
50: '#7c84d2',
500: '#3155bd',
950: '#000000',
},
}SCSS
$custom: #3155bd; $custom-light: #7c84d2; $custom-dark: #000000;
JSON
{
"hex": "#3155bd",
"rgb": {
"r": 49,
"g": 85,
"b": 189
},
"hsl": {
"h": 224.571,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.48526,
"c": 0.16895,
"h": 265.9
},
"luminance": 0.10824
}Semantic roles & 50–950 ramp
primary
#3155BD
secondary
#CAB780
accent
#BA46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83