#3155BF#3155BF
#3155BF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.172 H 266.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3155BF |
|---|---|
| RGB | rgb(49, 85, 191) |
| HSL | hsl(225, 59%, 47%) |
| HSV | hsv(225, 74%, 75%) |
| CMYK | cmyk(74.3%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(39.43, 24.61, -59.40) |
| CIE-LCH | lch(39.43, 64.30, 292.51°) |
| OKLab | oklab(48.69% -0.0121 -0.1712) |
| OKLCH | oklch(48.69% 0.172 266) |
| XYZ | xyz(13.9158, 10.9100, 50.6526) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.78
Denim
#1560BD
ΔE00 5.54
Warm Blue
#4B57DB
ΔE00 5.54
Cobalt
#0047AB
ΔE00 5.62
Azul
#1D5DEC
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155BF #BF9B31
analogous
#319CBF #3155BF #5431BF
triadic
#3155BF #BF3155 #55BF31
tetradic
#3155BF #BF319C #BF9B31 #31BF54
square
#3155BF #BF319C #BF9B31 #31BF54
split-complementary
#3155BF #BF5431 #9CBF31
monochromatic
#182A5E #253F8E #3155BF #5978D4 #8AA0E1
Accessibility & contrast
On white
6.60
#3155BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3155BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155BF
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155BF | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3155bf; /* rgb */ color: rgb(49, 85, 191); /* oklch */ color: oklch(48.7% 0.172 266.0);
Tailwind
colors: {
custom: {
50: '#7d84d3',
500: '#3155bf',
950: '#000000',
},
}SCSS
$custom: #3155bf; $custom-light: #7d84d3; $custom-dark: #000000;
JSON
{
"hex": "#3155bf",
"rgb": {
"r": 49,
"g": 85,
"b": 191
},
"hsl": {
"h": 224.789,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.48685,
"c": 0.17166,
"h": 266
},
"luminance": 0.10912
}Semantic roles & 50–950 ramp
primary
#3155BF
secondary
#CBB881
accent
#BB45E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83