#3155B4#3155B4
#3155B4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.157 H 265.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3155B4 |
|---|---|
| RGB | rgb(49, 85, 180) |
| HSL | hsl(224, 57%, 45%) |
| HSV | hsv(224, 73%, 71%) |
| CMYK | cmyk(72.8%, 52.8%, 0%, 29.4%) |
| CIE-LAB | lab(38.63, 20.49, -54.25) |
| CIE-LCH | lch(38.63, 57.99, 290.69°) |
| OKLab | oklab(47.83% -0.013 -0.1561) |
| OKLCH | oklch(47.83% 0.157 265.3) |
| XYZ | xyz(12.7504, 10.4439, 44.5151) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 4.96
Denim Blue
#3B5B92
ΔE00 4.99
Denim
#1560BD
ΔE00 5.23
Dusk Blue
#26538D
ΔE00 5.78
Dusky Blue
#475F94
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155B4 #B49031
analogous
#3197B4 #3155B4 #4E31B4
triadic
#3155B4 #B43155 #55B431
tetradic
#3155B4 #B43197 #B49031 #31B44E
square
#3155B4 #B43197 #B49031 #31B44E
split-complementary
#3155B4 #B44E31 #97B431
monochromatic
#172854 #243E84 #3155B4 #5275D0 #829BDD
Accessibility & contrast
On white
6.80
#3155B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3155B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155B4
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155B4 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3155b4; /* rgb */ color: rgb(49, 85, 180); /* oklch */ color: oklch(47.8% 0.157 265.3);
Tailwind
colors: {
custom: {
50: '#7a84cb',
500: '#3155b4',
950: '#000000',
},
}SCSS
$custom: #3155b4; $custom-light: #7a84cb; $custom-dark: #000000;
JSON
{
"hex": "#3155b4",
"rgb": {
"r": 49,
"g": 85,
"b": 180
},
"hsl": {
"h": 223.511,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.47827,
"c": 0.15663,
"h": 265.3
},
"luminance": 0.10445
}Semantic roles & 50–950 ramp
primary
#3155B4
secondary
#C6B17B
accent
#B647E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82